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, systhread_getdata, systhread_newkey, systhread_sleep, systhread_start, systhread_timerset