Home
last modified time | relevance | path

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

/external/qemu/distrib/sdl-1.2.15/src/thread/
DSDL_thread.c39 static SDL_mutex *thread_lock = NULL; variable
46 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 …]