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