VMS Help
POSIX Threads, PTHREAD routines, pthread_attr_destroy
*Conan The Librarian (sorry for the slow response - running on an old VAX)
|
|
Destroys a thread attributes object.
#include <pthread.h>
int
pthread_attr_destroy (
pthread_attr_t *attr);
attr
Thread attributes object to be destroyed.
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.
If an error condition occurs, this routine returns an integer
value indicating the type of error. Possible return values are as
follows:
Return Description
0 Successful completion.
[EINVAL] The value specified by attr is not a valid thread
attributes object.
pthread_attr_init()
pthread_create()
[legal]
[privacy]
[GNU]
[policy]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.