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

systhread_setdata() Function

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

Return Values



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.

See Also

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