Deletes a thread attributes object.
Threads Library (libpthreads.a)
int pthread_attr_destroy ( attr)
The pthread_attr_destroy subroutine destroys the thread attributes object attr, reclaiming its storage space. It has no effect on the threads previously created with that object.
|attr||Specifies the thread attributes object to delete.|
Upon successful completion, 0 is returned. Otherwise, an error code is returned.
pthread_attr_destroy subroutine is unsuccessful if the following is
|EINVAL||The attr parameter is not valid.|
This function will not return an error code of [EINTR].
This subroutine is part of the Base Operating System (BOS) Runtime.
The pthread_attr_init (pthread_attr_init Subroutine) subroutine, pthread_create (pthread_create Subroutine) subroutine, the pthread.h file.
Creating Threads in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.
Threads Library Quick Reference in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.