#include <oskit/threads/pthread.h>int pthread_cond_init(pthread_cond_t *cond, pthread_condattr_t *attr);
Initialize a condition variable object, using the provided condition attributes object. The attributes object may be a NULL pointer, in which case pthread_condattr_default is used.
- cond
- A pointer to the condition variable object.
- attr
- A pointer to the condition variable attributes object.
Returns zero on success.
pthread_cond_destroy