The systhread_setdata function associates data with a specified key number for the current thread. Keys are assigned by the systhread_newkey function.
void systhread_setdata(int key, void *data);
void
int key is the priority of the thread.
void *data is the pointer to the string of data to be associated with the value of key.
systhread_current() Function, systhread_getdata() Function, systhread_newkey() Function, systhread_sleep() Function, systhread_start() Function, systhread_timerset() Function