pthread_getspecific man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



pthread_setspecific(3P)				       pthread_setspecific(3P)

NAME
     pthread_setspecific, pthread_getspecific - thread-specific data
     management

C SYNOPSIS
     #include <pthread.h>

     int pthread_setspecific(pthread_key_t key, const void *value);
     void *pthread_getspecific(pthread_key_t key);

DESCRIPTION
     The pthread_setspecific() function associates a thread-specific value
     with key.	Different threads may bind different values to the same key.

     The pthread_getspecific() function returns the calling thread's value
     that is bound to the specified key.

     The affect of calling either of these functions using a value for key not
     obtained from a pthread_key_create() call or after key has been deleted
     with pthread_key_delete() is undefined.

DIAGNOSTICS
     The pthread_getspecific() function returns the thread-specific value
     associated with key.  If no value is associated with key, then NULL is
     returned.

     On success, pthread_setspecific() returns zero; otherwise, an error
     number is returned:

     [ENOMEM]	    Not enough memory is available to associate value with
		    key.

     [EINVAL]	    The value specified by key is invalid.

SEE ALSO
     pthread_key_create(3P), pthread_key_delete(3P).

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net