#if 0 #include #include #include int cnd_init(cnd_t *cond) { switch (pthread_cond_init(cond, 0)) { case 0: return thrd_success; case ENOMEM: return thrd_nomem; default: break; } return thrd_error; } /* STDC(201112) */ #endif