thr_getspecific man page on DigitalUNIX

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



thr_getspecific(3scl)					 thr_getspecific(3scl)

NAME
       thr_getspecific	- Obtains the thread-specific data associated with the
       specified key.

LIBRARY
       SCL Threads Library (libthread.so)

SYNOPSIS
       #include <thread.h>

       void *thr_getspecific(
			      thread_key_t key );

PARAMETERS
       Identifies which thread-specific data is to be obtained.

DESCRIPTION
       This routine obtains the thread-specific data associated with the spec‐
       ified key for the current thread.

       Keys  are created by calls to thr_keycreate(3scl). Thread-specific data
       is bound to a key by calling thr_setspecific(3scl).

SCL IMPLEMENTATION NOTES
       thr_getspecific(3scl) is implemented by calling pthread_getspecific(3).

RETURN VALUES
       This routine returns the thread-specific data value associated with the
       key  for	 this thread. If key is not defined, or there is no data value
       associated with the key for this thread, then NULL is returned.

ERRORS
       None.

RELATED INFORMATION
       Functions: pthread_key_create(3), pthread_getspecific(3),  pthread_set‐
       specific(3)scl_intro(3scl),     scl_thread_intro(3scl),	   thr_keycre‐
       ate(3scl), thr_setspecific(3scl)

       Manuals: Solaris Compatibility Libraries User's Guide

							 thr_getspecific(3scl)
[top]

List of man pages available for DigitalUNIX

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