VMS Help
POSIX Threads, PTHREAD routines, pthread_condattr_destroy
*Conan The Librarian (sorry for the slow response - running on an old VAX)
|
|
Destroys a condition variable attributes object.
#include <pthread.h>
int
pthread_condattr_destroy (
pthread_condattr_t *attr);
attr
Condition variable attributes object to be destroyed.
This routine destroys the specified condition variable attributes
object. Call this routine when a condition variable attributes
object will no longer be referenced.
Condition variables that were created using this attributes
object are not affected by the destruction of the condition
variable attributes object.
The results of calling this routine are unpredictable if the
value specified by the attr argument refers to a condition
variable 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 attributes object specified by attr is invalid.
pthread_condattr_init()
[legal]
[privacy]
[GNU]
[policy]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.