next up previous contents index
Next: 18.3.33 pthread_mutex_init: Initialize a Up: 18.3 POSIX Threads Reference Previous: 18.3.31 pthread_setspecific: Set a

18.3.32 pthread_getspecific: Set a thread-specific data value

 

SYNOPSIS

#include <oskit/threads/pthread.h>

void *pthread_setspecific(pthread_ket_t key);

DESCRIPTION

Get the thread-specific value associated the specified key.

PARAMETERS

key
The key for the value that should be retrieved.

RETURNS

Returns the value of the key. Errors always return zero.

RELATED INFORMATION

pthread_key_create, pthread_key_delete, pthread_setspecific



University of Utah Flux Research Group