Sun Java System Web Server 7.0 Update 3 NSAPI Developer's Guide

systhread_newkey() Function

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

Return Values

An integer key.



See Also

systhread_current() Function, systhread_getdata() Function, systhread_setdata() Function, systhread_sleep() Function, systhread_start() Function, systhread_timerset() Function