Home
last modified time | relevance | path

Searched refs:SDL_sem (Results 1 – 18 of 18) sorted by relevance

/external/qemu/distrib/sdl-1.2.15/src/thread/riscos/
DSDL_syssem.c36 SDL_sem *SDL_CreateSemaphore(Uint32 initial_value) in SDL_CreateSemaphore()
39 return (SDL_sem *)0; in SDL_CreateSemaphore()
42 void SDL_DestroySemaphore(SDL_sem *sem) in SDL_DestroySemaphore()
47 int SDL_SemTryWait(SDL_sem *sem) in SDL_SemTryWait()
53 int SDL_SemWaitTimeout(SDL_sem *sem, Uint32 timeout) in SDL_SemWaitTimeout()
59 int SDL_SemWait(SDL_sem *sem) in SDL_SemWait()
65 Uint32 SDL_SemValue(SDL_sem *sem) in SDL_SemValue()
70 int SDL_SemPost(SDL_sem *sem) in SDL_SemPost()
89 SDL_sem *SDL_CreateSemaphore(Uint32 initial_value) in SDL_CreateSemaphore()
91 SDL_sem *sem = (SDL_sem *) SDL_malloc(sizeof(SDL_sem)); in SDL_CreateSemaphore()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/thread/dc/
DSDL_syssem.c36 SDL_sem *SDL_CreateSemaphore(Uint32 initial_value) in SDL_CreateSemaphore()
39 return (SDL_sem *)0; in SDL_CreateSemaphore()
42 void SDL_DestroySemaphore(SDL_sem *sem) in SDL_DestroySemaphore()
47 int SDL_SemTryWait(SDL_sem *sem) in SDL_SemTryWait()
53 int SDL_SemWaitTimeout(SDL_sem *sem, Uint32 timeout) in SDL_SemWaitTimeout()
59 int SDL_SemWait(SDL_sem *sem) in SDL_SemWait()
65 Uint32 SDL_SemValue(SDL_sem *sem) in SDL_SemValue()
70 int SDL_SemPost(SDL_sem *sem) in SDL_SemPost()
85 SDL_sem *SDL_CreateSemaphore(Uint32 initial_value) in SDL_CreateSemaphore()
87 return (SDL_sem *)sem_create(initial_value); in SDL_CreateSemaphore()
[all …]
DSDL_syscond.c37 SDL_sem *wait_sem;
38 SDL_sem *wait_done;
/external/qemu/distrib/sdl-1.2.15/src/thread/generic/
DSDL_syssem.c33 SDL_sem *SDL_CreateSemaphore(Uint32 initial_value) in SDL_CreateSemaphore()
36 return (SDL_sem *)0; in SDL_CreateSemaphore()
39 void SDL_DestroySemaphore(SDL_sem *sem) in SDL_DestroySemaphore()
44 int SDL_SemTryWait(SDL_sem *sem) in SDL_SemTryWait()
50 int SDL_SemWaitTimeout(SDL_sem *sem, Uint32 timeout) in SDL_SemWaitTimeout()
56 int SDL_SemWait(SDL_sem *sem) in SDL_SemWait()
62 Uint32 SDL_SemValue(SDL_sem *sem) in SDL_SemValue()
67 int SDL_SemPost(SDL_sem *sem) in SDL_SemPost()
83 SDL_sem *SDL_CreateSemaphore(Uint32 initial_value) in SDL_CreateSemaphore()
85 SDL_sem *sem; in SDL_CreateSemaphore()
[all …]
DSDL_syscond.c37 SDL_sem *wait_sem;
38 SDL_sem *wait_done;
DSDL_sysmutex.c33 SDL_sem *sem;
/external/qemu/distrib/sdl-1.2.15/src/thread/beos/
DSDL_syssem.c36 SDL_sem *SDL_CreateSemaphore(Uint32 initial_value) in SDL_CreateSemaphore()
38 SDL_sem *sem; in SDL_CreateSemaphore()
40 sem = (SDL_sem *)SDL_malloc(sizeof(*sem)); in SDL_CreateSemaphore()
55 void SDL_DestroySemaphore(SDL_sem *sem) in SDL_DestroySemaphore()
65 int SDL_SemWaitTimeout(SDL_sem *sem, Uint32 timeout) in SDL_SemWaitTimeout()
103 int SDL_SemTryWait(SDL_sem *sem) in SDL_SemTryWait()
108 int SDL_SemWait(SDL_sem *sem) in SDL_SemWait()
114 Uint32 SDL_SemValue(SDL_sem *sem) in SDL_SemValue()
130 int SDL_SemPost(SDL_sem *sem) in SDL_SemPost()
/external/qemu/distrib/sdl-1.2.15/src/thread/pthread/
DSDL_syssem.c44 SDL_sem *SDL_CreateSemaphore(Uint32 initial_value) in SDL_CreateSemaphore()
46 SDL_sem *sem = (SDL_sem *) SDL_malloc(sizeof(SDL_sem)); in SDL_CreateSemaphore()
59 void SDL_DestroySemaphore(SDL_sem *sem) in SDL_DestroySemaphore()
67 int SDL_SemTryWait(SDL_sem *sem) in SDL_SemTryWait()
82 int SDL_SemWait(SDL_sem *sem) in SDL_SemWait()
98 int SDL_SemWaitTimeout(SDL_sem *sem, Uint32 timeout) in SDL_SemWaitTimeout()
162 Uint32 SDL_SemValue(SDL_sem *sem) in SDL_SemValue()
174 int SDL_SemPost(SDL_sem *sem) in SDL_SemPost()
/external/qemu/distrib/sdl-1.2.15/src/thread/win32/
DSDL_syssem.c46 SDL_sem *SDL_CreateSemaphore(Uint32 initial_value) in SDL_CreateSemaphore()
48 SDL_sem *sem; in SDL_CreateSemaphore()
51 sem = (SDL_sem *)SDL_malloc(sizeof(*sem)); in SDL_CreateSemaphore()
72 void SDL_DestroySemaphore(SDL_sem *sem) in SDL_DestroySemaphore()
87 int SDL_SemWaitTimeout(SDL_sem *sem, Uint32 timeout)
122 int SDL_SemTryWait(SDL_sem *sem)
127 int SDL_SemWait(SDL_sem *sem)
133 Uint32 SDL_SemValue(SDL_sem *sem)
142 int SDL_SemPost(SDL_sem *sem)
/external/qemu/distrib/sdl-1.2.15/include/
DSDL_mutex.h87 typedef struct SDL_semaphore SDL_sem; typedef
90 extern DECLSPEC SDL_sem * SDLCALL SDL_CreateSemaphore(Uint32 initial_value);
93 extern DECLSPEC void SDLCALL SDL_DestroySemaphore(SDL_sem *sem);
100 extern DECLSPEC int SDLCALL SDL_SemWait(SDL_sem *sem);
106 extern DECLSPEC int SDLCALL SDL_SemTryWait(SDL_sem *sem);
115 extern DECLSPEC int SDLCALL SDL_SemWaitTimeout(SDL_sem *sem, Uint32 ms);
120 extern DECLSPEC int SDLCALL SDL_SemPost(SDL_sem *sem);
123 extern DECLSPEC Uint32 SDLCALL SDL_SemValue(SDL_sem *sem);
/external/qemu/distrib/sdl-1.2.15/src/thread/irix/
DSDL_syssem.c65 SDL_sem *SDL_CreateSemaphore(Uint32 initial_value) in SDL_CreateSemaphore()
68 SDL_sem *sem; in SDL_CreateSemaphore()
71 sem = (SDL_sem *)SDL_malloc(sizeof(*sem)); in SDL_CreateSemaphore()
87 void SDL_DestroySemaphore(SDL_sem *sem) in SDL_DestroySemaphore()
101 int SDL_SemTryWait(SDL_sem *sem) in SDL_SemTryWait()
121 int SDL_SemWait(SDL_sem *sem) in SDL_SemWait()
142 int SDL_SemWaitTimeout(SDL_sem *sem, Uint32 timeout) in SDL_SemWaitTimeout()
172 Uint32 SDL_SemValue(SDL_sem *sem) in SDL_SemValue()
200 int SDL_SemPost(SDL_sem *sem) in SDL_SemPost()
/external/qemu/distrib/sdl-1.2.15/src/thread/os2/
DSDL_syssem.c43 DECLSPEC SDL_sem * SDLCALL SDL_CreateSemaphore(Uint32 initial_value) in SDL_CreateSemaphore()
45 SDL_sem *sem; in SDL_CreateSemaphore()
49 sem = (SDL_sem *)SDL_malloc(sizeof(*sem)); in SDL_CreateSemaphore()
70 DECLSPEC void SDLCALL SDL_DestroySemaphore(SDL_sem *sem) in SDL_DestroySemaphore()
82 DECLSPEC int SDLCALL SDL_SemWaitTimeout(SDL_sem *sem, Uint32 timeout) in SDL_SemWaitTimeout()
158 DECLSPEC int SDLCALL SDL_SemTryWait(SDL_sem *sem) in SDL_SemTryWait()
163 DECLSPEC int SDLCALL SDL_SemWait(SDL_sem *sem) in SDL_SemWait()
169 DECLSPEC Uint32 SDLCALL SDL_SemValue(SDL_sem *sem) in SDL_SemValue()
178 DECLSPEC int SDLCALL SDL_SemPost(SDL_sem *sem) in SDL_SemPost()
DSDL_syscond.c37 SDL_sem *wait_sem;
38 SDL_sem *wait_done;
/external/qemu/distrib/sdl-1.2.15/src/thread/symbian/
DSDL_syssem.cpp65 SDL_sem *SDL_CreateSemaphore(Uint32 initial_value) in SDL_CreateSemaphore()
80 void SDL_DestroySemaphore(SDL_sem *sem) in SDL_DestroySemaphore()
121 void _WaitAll(SDL_sem *sem) in _WaitAll()
134 int SDL_SemWaitTimeout(SDL_sem *sem, Uint32 timeout) in SDL_SemWaitTimeout()
179 int SDL_SemTryWait(SDL_sem *sem) in SDL_SemTryWait()
188 int SDL_SemWait(SDL_sem *sem) in SDL_SemWait()
194 Uint32 SDL_SemValue(SDL_sem *sem) in SDL_SemValue()
203 int SDL_SemPost(SDL_sem *sem) in SDL_SemPost()
/external/qemu/distrib/sdl-1.2.15/test/
Dtestsem.c13 static SDL_sem *sem;
/external/qemu/distrib/sdl-1.2.15/src/thread/
DSDL_thread.c176 SDL_sem *wait;
/external/qemu/distrib/sdl-1.2.15/src/video/quartz/
DSDL_QuartzVideo.h120 SDL_sem *sem1, *sem2; /* synchronization for async screen updates */
/external/qemu/distrib/sdl-1.2.15/src/cdrom/macosx/
DCDPlayer.c61 static SDL_sem *callbackSem;