VMS Help
POSIX Threads, TIS routines, tis_getspecific
*Conan The Librarian (sorry for the slow response - running on an old VAX)
|
|
Obtains the data associated with the specified thread-specific
data key.
#include <tis.h>
void *
tis_getspecific (
pthread_key_t key);
key
Identifies a value returned by a call to tis_key_create().
This routine returns the data value associated with the thread-
specific data key.
This routine returns the value currently bound to the specified
thread-specific data key.
This routine can be called from a data destructor function.
When threads are present, the data and keys are thread specific;
they enable a library to maintain context on a per-thread basis.
No errors are returned. This routine returns the data value
associated with the specified thread-specific data key key. If
no data value is associated with key, or if key is not defined,
then a NULL value is returned.
tis_key_create()
tis_key_delete()
tis_setspecific()
[legal]
[privacy]
[GNU]
[policy]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.