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()
65 sem_t *wait_sem; member307 if (wakee_event->wait_sem) { in add_sched_event_wakeup()312 wakee_event->wait_sem = zalloc(sizeof(*wakee_event->wait_sem)); in add_sched_event_wakeup()313 sem_init(wakee_event->wait_sem, 0, 0); in add_sched_event_wakeup()315 event->wait_sem = wakee_event->wait_sem; in add_sched_event_wakeup()402 if (atom->wait_sem) in perf_sched__process_event()403 ret = sem_wait(atom->wait_sem); in perf_sched__process_event()407 if (atom->wait_sem) in perf_sched__process_event()408 ret = sem_post(atom->wait_sem); in perf_sched__process_event()