/* Restart one of the threads that are waiting on the condition variable */ int SDL_CondSignal(SDL_cond *cond) { if (!cond) { SDL_SetError("Passed a NULL condition variable"); return -1; } return LWP_CondSignal(cond->cond) == 0 ? 0 : -1; }
int cond_signal(bor_cond *cond) { return LWP_RETCODE(LWP_CondSignal(*cond)); }