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

/external/qemu/distrib/sdl-1.2.12/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.12/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.12/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...]

Completed in 42 milliseconds