This is the mail archive of the
mailing list for the eCos project.
thread specific data
- From: Tom Coremans <tom dot coremans at acunia dot com>
- To: eCos users <ecos-discuss at sources dot redhat dot com>
- Date: Tue, 12 Feb 2002 15:26:09 +0100
- Subject: [ECOS] thread specific data
- Organization: Acunia
Sorry, pressed on the wrong button ;-), replied instead of posted
but the question still stands....
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
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
knowing wich index a will get??
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss