예제 #1
0
파일: threads.c 프로젝트: DCurrent/openbor
int cond_wait(bor_cond *cond, bor_mutex *mutex)
{
	return LWP_RETCODE(LWP_CondWait(*cond, *mutex));
}
예제 #2
0
/* Wait on the condition variable forever */
int SDL_CondWait(SDL_cond *cond, SDL_mutex *mutex)
{
	return LWP_CondWait(cond->cond, mutex->id);
}