This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Thread specific data
- From: Tom Coremans <tom dot coremans at acunia dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Tue, 12 Feb 2002 15:00:13 +0100
- Subject: [ECOS] Thread specific data
- Organization: Acunia
- References: <3.0.5.32.20020212101303.009231a0@192.168.128.220>
Hi,
I want to use the cyg_thread_set_data (index, data) function in ecos.
Do I have to call the cyg_thread_new_data_index() first to get an index or
can I just use a random number as an index?
And suspose I must use the cyg_thread_new_data_index first, is there a way of
knowing wich index a will get??
Thanks,
Tom Coremans
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss