The systhread_newkey function allocates a new integer key (identifier) for thread-private data. Use this key to identify a variable that you want to localize to the current thread, then use the systhread_setdata function to associate a value with the key.
int systhread_newkey(void);
An integer key.
None
systhread_current() Function, systhread_getdata() Function, systhread_setdata() Function, systhread_sleep() Function, systhread_start() Function, systhread_timerset() Function