Searched refs:wait_sem (Results 1 – 4 of 4) sorted by relevance
37 SDL_sem *wait_sem; member49 cond->wait_sem = SDL_CreateSemaphore(0); in SDL_CreateCond()52 if ( ! cond->lock || ! cond->wait_sem || ! cond->wait_done ) { in SDL_CreateCond()66 if ( cond->wait_sem ) { in SDL_DestroyCond()67 SDL_DestroySemaphore(cond->wait_sem); in SDL_DestroyCond()93 SDL_SemPost(cond->wait_sem); in SDL_CondSignal()121 SDL_SemPost(cond->wait_sem); in SDL_CondBroadcast()179 retval = SDL_SemWait(cond->wait_sem); in SDL_CondWaitTimeout()181 retval = SDL_SemWaitTimeout(cond->wait_sem, ms); in SDL_CondWaitTimeout()194 SDL_SemWait(cond->wait_sem); in SDL_CondWaitTimeout()
85 sem_t *wait_sem; member299 if (wakee_event->wait_sem) { in add_sched_event_wakeup()304 wakee_event->wait_sem = zalloc(sizeof(*wakee_event->wait_sem)); in add_sched_event_wakeup()305 sem_init(wakee_event->wait_sem, 0, 0); in add_sched_event_wakeup()307 event->wait_sem = wakee_event->wait_sem; in add_sched_event_wakeup()394 if (atom->wait_sem) in process_sched_event()395 ret = sem_wait(atom->wait_sem); in process_sched_event()399 if (atom->wait_sem) in process_sched_event()400 ret = sem_post(atom->wait_sem); in process_sched_event()