synccall: add separate exit_sem to fix thread release logic bug
[musl.git] / src / thread / cnd_signal.c
blob02cdc6c60a2550104a0ef09c857205c293c80e10
1 #include <threads.h>
2 #include <pthread.h>
4 int cnd_signal(cnd_t *c)
6 /* This internal function never fails, and always returns zero,
7 * which matches the value thrd_success is defined with. */
8 return __private_cond_signal((pthread_cond_t *)c, 1);