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

  man pages->Tru64 Unix man pages -> pthread_attr_destroy (3)              
Title
Content
Arch
Section
 

pthread_attr_destroy(3)

Contents


NAME    [Toc]    [Back]

       pthread_attr_destroy - Destroys a thread attributes object

SYNOPSIS    [Toc]    [Back]

       #include <pthread.h>

       int pthread_attr_destroy(
               pthread_attr_t *attr );

LIBRARY    [Toc]    [Back]

       DECthreads POSIX 1003.1c Library (libpthread.so)

STANDARDS    [Toc]    [Back]

       Interfaces documented on this reference  page  conform  to
       industry standards as follows:

       IEEE  Std  1003.1c-1995,  POSIX System Application Program
       Interface

PARAMETERS    [Toc]    [Back]

       Thread attributes object to be destroyed.

DESCRIPTION    [Toc]    [Back]

       This routine destroys a  thread  attributes  object.  Call
       this  routine  when  a  thread  attributes  object will no
       longer be referenced.

       Threads that were created  using  this  thread  attributes
       object  are  not affected by the destruction of the thread
       attributes object.

       The results of calling this routine are  unpredictable  if
       the  value  specified  by  the  attr  argument refers to a
       thread attributes object that does not exist.

RETURN VALUES    [Toc]    [Back]

       If an error condition  occurs,  this  routine  returns  an
       integer  value  indicating  the  type  of  error. Possible
       return values are as follows:  Successful  completion  The
       value specified by attr is invalid.

ERRORS    [Toc]    [Back]

       None

SEE ALSO    [Toc]    [Back]

      
      
       Functions: pthread_attr_init(3), pthread_create(3)

       Manuals: Guide to DECthreads and Programmer's Guide



                                          pthread_attr_destroy(3)
[ Back ]
 Similar pages
Name OS Title
pthread_mutexattr_destroy Tru64 Destroys the specified mutex attributes object
pthread_condattr_destroy Tru64 Destroys a condition variable attributes object
pthread_attr_getname_np Tru64 Obtain the object name attribute in a thread attributes object
pthread_attr_setname_np Tru64 Change the object name attribute in a thread attributes object
pthread_attr_init Tru64 Initializes a thread attributes object
pthread_attr_setstacksize Tru64 Changes the stacksize attribute in the specified thread attributes object
pthread_attr_setdetachstate Tru64 Changes the detachstate attribute in the specified thread attributes object
pthread_attr_setguardsize Tru64 Changes the guardsize attribute of the specified thread attributes object
pthread_attr_getdetachstate Tru64 Obtains the detachstate attribute of the specified thread attributes object
pthread_attr_setstackaddr Tru64 Changes the stack address attribute of the specified thread attributes object
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service