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>
- 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
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