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

systhread_getdata() Function

The systhread_getdata function gets data that is associated with a specified key in the current thread.


void *systhread_getdata(int key);

Return Values

A pointer to the data that was earlier used with the systhread_setkey function from the current thread, using the same value of key if the call succeeds. Return Values NULL if the call does not succeed, for example, if the systhread_setkey function was never called with the specified key during this session.


int key is the value associated with the stored data by a systhread_setdata function. Keys are assigned by the systhread_newkey function.

See Also

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