1 2 3 4 5 6 7
#include <threads.h> int cnd_init(cnd_t *c) { *c = (cnd_t){ 0 }; return thrd_success; }