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

systhread_newkey

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.

Syntax

int systhread_newkey(void);

Returns

An integer key.

Parameters

none

See Also

systhread_current, systhread_getdata, systhread_setdata, systhread_sleep, systhread_start, systhread_timerset