|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Defined in header <threads.h> | ||
int cnd_broadcast(cnd_t*cond); | (since C11) | |
Unblocks all threads that are blocked on condition variablecond at the time of the call. If no threads are blocked oncond, the function does nothing and returnsthrd_success.
Contents |
| cond | - | pointer to a condition variable |
thrd_success if successful,thrd_error otherwise.
(C11) | unblocks one thread blocked on a condition variable (function)[edit] |
C++ documentation forcondition_variable::notify_all | |
C++ documentation forcondition_variable_any::notify_all | |