|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Defined in header <threads.h> | ||
int cnd_signal(cnd_t*cond); | (since C11) | |
Unblocks one thread that currently waits on condition variable pointed to bycond. If no threads are blocked, does nothing and returnsthrd_success.
Contents |
| cond | - | pointer to a condition variable |
thrd_success if successful,thrd_error otherwise.
(C11) | unblocks all threads blocked on a condition variable (function)[edit] |
C++ documentation forcondition_variable::notify_one | |
C++ documentation forcondition_variable_any::notify_one | |