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);
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.