Sun Java System Web Server 6.1 SP6 NSAPI Programmer's Guide

systhread_setdata

The systhread_setdata function associates data with a specified key number for the current thread. Keys are assigned by the systhread_newkey function.

Syntax

void systhread_setdata(int key, void *data);

Returns

void

Parameters

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