Searched refs:thread_lock (Results 1 – 1 of 1) sorted by relevance
39 static SDL_mutex *thread_lock = NULL; variable46 thread_lock = SDL_CreateMutex(); in SDL_ThreadsInit()47 if ( thread_lock == NULL ) { in SDL_ThreadsInit()62 mutex = thread_lock; in SDL_ThreadsQuit()63 thread_lock = NULL; in SDL_ThreadsQuit()78 if ( !thread_lock ) { in SDL_AddThread()83 SDL_mutexP(thread_lock); in SDL_AddThread()103 SDL_mutexV(thread_lock); in SDL_AddThread()110 if ( !thread_lock ) { in SDL_DelThread()113 SDL_mutexP(thread_lock); in SDL_DelThread()[all …]