*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> pthread_key_delete (3p)              
Title
Content
Arch
Section
 

Contents


pthread_key_delete(3P)					pthread_key_delete(3P)


NAME    [Toc]    [Back]

     pthread_key_delete	- thread-specific data key deletion

C SYNOPSIS    [Toc]    [Back]

     #include <pthread.h>

     int pthread_key_delete(pthread_key_t key);

DESCRIPTION    [Toc]    [Back]

     The pthread_key_delete() function deletes a key that was previously
     returned by pthread_key_create().

     When key is deleted, the associated destructor (if	any) is	not called by
     pthread_key_delete() nor will it be called	upon thread exit [see
     pthread_exit()].  It is the responsibility	of the user program to free up
     any storage that is referenced by key.

     The use of	key after the call to pthread_key_delete() will	result in
     undefined behavior.

DIAGNOSTICS    [Toc]    [Back]

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

     [EINVAL]	    The	value specified	by key is invalid.

SEE ALSO    [Toc]    [Back]

      
      
     pthread_key_create(3P), pthread_exit(3P).


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
pthread_setspecific Tru64 Sets the thread-specific data value associated with the specified key for the current thread
pthread_detach Tru64 Marks a thread object for deletion
pthread_setspecific OpenBSD set a thread-specific data value
pthread_getspecific OpenBSD get a thread-specific data value
pthread_setspecific FreeBSD set a thread-specific data value
pthread_getspecific FreeBSD get a thread-specific data value
pthread_key_create IRIX thread-specific data key creation
tis_key_delete Tru64 Deletes the specified thread-specific data key
pthread_key_create OpenBSD thread-specific data key creation
pthread_key_delete Tru64 Deletes a thread-specific data key
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service