Files
semi-libc/src/thread/cnd_broadcast.c
T
Jens GustedtandRich Felker 14397cec2c add C11 condition variable functions
Because of the clear separation for private pthread_cond_t these
interfaces are quite simple and direct.
2014-09-06 22:27:45 -04:00

11 lines
260 B
C

#include <threads.h>
int __private_cond_signal(cnd_t *, int);
int cnd_broadcast(cnd_t *c)
{
/* This internal function never fails, and always returns zero,
* which matches the value thrd_success is defined with. */
return __private_cond_signal(c, -1);
}