44 #define SDL_MUTEX_TIMEDOUT 1
49 #define SDL_MUTEX_MAXWAIT (~(Uint32)0)
59 typedef struct SDL_mutex SDL_mutex;
71 #define SDL_mutexP(m) SDL_LockMutex(m)
72 extern DECLSPEC
int SDLCALL SDL_LockMutex(SDL_mutex * mutex);
89 #define SDL_mutexV(m) SDL_UnlockMutex(m)
90 extern DECLSPEC
int SDLCALL SDL_UnlockMutex(SDL_mutex * mutex);
106 struct SDL_semaphore;
107 typedef struct SDL_semaphore SDL_sem;
124 extern DECLSPEC
int SDLCALL
SDL_SemWait(SDL_sem * sem);
150 extern DECLSPEC
int SDLCALL
SDL_SemPost(SDL_sem * sem);
155 extern DECLSPEC Uint32 SDLCALL
SDL_SemValue(SDL_sem * sem);
167 typedef struct SDL_cond SDL_cond;
227 extern DECLSPEC
int SDLCALL
SDL_CondWait(SDL_cond * cond, SDL_mutex * mutex);
238 SDL_mutex * mutex, Uint32 ms);
DECLSPEC int SDLCALL SDL_SemPost(SDL_sem *sem)
DECLSPEC void SDLCALL SDL_DestroyCond(SDL_cond *cond)
DECLSPEC int SDLCALL SDL_SemWait(SDL_sem *sem)
DECLSPEC void SDLCALL SDL_DestroyMutex(SDL_mutex *mutex)
DECLSPEC Uint32 SDLCALL SDL_SemValue(SDL_sem *sem)
DECLSPEC SDL_sem *SDLCALL SDL_CreateSemaphore(Uint32 initial_value)
DECLSPEC int SDLCALL SDL_CondSignal(SDL_cond *cond)
DECLSPEC int SDLCALL SDL_TryLockMutex(SDL_mutex *mutex)
DECLSPEC int SDLCALL SDL_SemWaitTimeout(SDL_sem *sem, Uint32 ms)
DECLSPEC int SDLCALL SDL_SemTryWait(SDL_sem *sem)
DECLSPEC int SDLCALL SDL_CondWait(SDL_cond *cond, SDL_mutex *mutex)
DECLSPEC int SDLCALL SDL_CondWaitTimeout(SDL_cond *cond, SDL_mutex *mutex, Uint32 ms)
DECLSPEC int SDLCALL SDL_CondBroadcast(SDL_cond *cond)
DECLSPEC SDL_cond *SDLCALL SDL_CreateCond(void)
DECLSPEC SDL_mutex *SDLCALL SDL_CreateMutex(void)
DECLSPEC void SDLCALL SDL_DestroySemaphore(SDL_sem *sem)