Wakes all threads that are waiting on a condition variable.
pthread_cond_broadcast(
cond );
Argument Data Type Access
cond opaque pthread_cond_t read
int pthread_cond_broadcast ( pthread_cond_t *cond);
You can call this routine whether the associated mutex is locked or not.
Return Error Description0 Successful completion. -1 [EINVAL] The value specified by cond is invalid.