Searched refs:wait_sem (Results 1 - 4 of 4) sorted by relevance

/external/qemu/distrib/sdl-1.2.15/src/thread/dc/
H A DSDL_syscond.c37 SDL_sem *wait_sem; member in struct:SDL_cond
49 cond->wait_sem = SDL_CreateSemaphore(0);
52 if ( ! cond->lock || ! cond->wait_sem || ! cond->wait_done ) {
66 if ( cond->wait_sem ) {
67 SDL_DestroySemaphore(cond->wait_sem);
93 SDL_SemPost(cond->wait_sem);
121 SDL_SemPost(cond->wait_sem);
179 retval = SDL_SemWait(cond->wait_sem);
181 retval = SDL_SemWaitTimeout(cond->wait_sem, ms);
194 SDL_SemWait(cond->wait_sem);
[all...]
/external/qemu/distrib/sdl-1.2.15/src/thread/generic/
H A DSDL_syscond.c37 SDL_sem *wait_sem; member in struct:SDL_cond
49 cond->wait_sem = SDL_CreateSemaphore(0);
52 if ( ! cond->lock || ! cond->wait_sem || ! cond->wait_done ) {
66 if ( cond->wait_sem ) {
67 SDL_DestroySemaphore(cond->wait_sem);
93 SDL_SemPost(cond->wait_sem);
121 SDL_SemPost(cond->wait_sem);
179 retval = SDL_SemWait(cond->wait_sem);
181 retval = SDL_SemWaitTimeout(cond->wait_sem, ms);
194 SDL_SemWait(cond->wait_sem);
[all...]
/external/qemu/distrib/sdl-1.2.15/src/thread/os2/
H A DSDL_syscond.c37 SDL_sem *wait_sem; member in struct:SDL_cond
49 cond->wait_sem = SDL_CreateSemaphore(0);
52 if ( ! cond->lock || ! cond->wait_sem || ! cond->wait_done ) {
66 if ( cond->wait_sem ) {
67 SDL_DestroySemaphore(cond->wait_sem);
93 SDL_SemPost(cond->wait_sem);
121 SDL_SemPost(cond->wait_sem);
179 retval = SDL_SemWait(cond->wait_sem);
181 retval = SDL_SemWaitTimeout(cond->wait_sem, ms);
194 SDL_SemWait(cond->wait_sem);
[all...]
/external/linux-tools-perf/perf-3.12.0/tools/perf/
H A Dbuiltin-sched.c65 sem_t *wait_sem; member in struct:sched_atom
307 if (wakee_event->wait_sem) {
312 wakee_event->wait_sem = zalloc(sizeof(*wakee_event->wait_sem));
313 sem_init(wakee_event->wait_sem, 0, 0);
315 event->wait_sem = wakee_event->wait_sem;
402 if (atom->wait_sem)
403 ret = sem_wait(atom->wait_sem);
407 if (atom->wait_sem)
[all...]

Completed in 112 milliseconds