[ECOS] thread specific data

Tom Coremans tom.coremans@acunia.com
Tue Feb 12 06:25:00 GMT 2002


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



More information about the Ecos-discuss mailing list