NAME | SYNOPSIS | API RESTRICTIONS | DESCRIPTION | RETURN VALUE | ATTRIBUTES | SEE ALSO
$(OS_DIR)/lib/libpthreads.a #include <pthread.h>int pthread_condattr_init(pthread_condattr_t * attr);
The function or functions documented here may not be used safely in all application contexts with all APIs provided in the ChorusOS 5.0 product.
See API(5FEA) for details.
Condition variable attributes are not currently supported.
The pthread_condattr_init() function initializes the condition variable attribute object referenced by attr with the default values for all condition variable attributes. When subsequently used by pthread_cond_init() , it specifies attributes for the condition variable being initialized. Modification of an attribute object has no effect on condition variables already initialized from that object.
The pthread_condattr_destroy() function deletes a condition variable attribute object.
The pthread_condattr_init() and pthread_condattr_destroy() functions always return zero.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Interface Stability | Evolving |
NAME | SYNOPSIS | API RESTRICTIONS | DESCRIPTION | RETURN VALUE | ATTRIBUTES | SEE ALSO