167#define COND_INIT { { NULL } }
void cond_broadcast(cond_t *cond)
Wakes up all threads waiting on the condition variable.
void cond_wait(cond_t *cond, mutex_t *mutex)
Waits on a condition.
void cond_init(cond_t *cond)
Initializes a condition variable.
void cond_signal(cond_t *cond)
Wakes up one thread waiting on the condition variable.
Mutex for thread synchronization.
Condition variable structure.
list_node_t queue
The process waiting queue of the condition variable.