Initializes a condition variable attributes object that can be used to specify the attributes of condition variables when they are created.
pthread_condattr_init( attr );
Argument Data Type Accessattr opaque pthread_ write condattr_t
#includeint pthread_condattr_init ( pthread_condattr_t *attr);
When a condition variable attributes object is used to initialize a condition variable, the values of the individual attributes determine the characteristics of the new object. Attributes objects act like additional arguments to object initialization. Changing individual attributes does not affect objects that were previously initialized using the attributes object.
Return Description 0 Successful completion. [ENOMEM] Insufficient memory exists to initialize the condition variable attributes object.
pthread_condattr_destroy pthread_cond_init