21 #include "../../SDL_internal.h" 75 #if SDL_THREADS_DISABLED 85 if (mutex->
owner == this_thread) {
93 mutex->
owner = this_thread;
105 #if SDL_THREADS_DISABLED 116 if (mutex->
owner == this_thread) {
125 mutex->
owner = this_thread;
138 #if SDL_THREADS_DISABLED
int SDL_TryLockMutex(SDL_mutex *mutex)
int SDL_mutexV(SDL_mutex *mutex)
#define SDL_CreateSemaphore
int SDL_LockMutex(SDL_mutex *mutex)
void SDL_DestroyMutex(SDL_mutex *mutex)
SDL_mutex * SDL_CreateMutex(void)
#define SDL_OutOfMemory()
#define SDL_DestroySemaphore
unsigned long SDL_threadID