Files
semi-libc/src/thread/cnd_init.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

8 lines
91 B
C

#include <threads.h>
int cnd_init(cnd_t *c)
{
*c = (cnd_t){ 0 };
return thrd_success;
}