Home
last modified time | relevance | path

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

/external/qemu/distrib/sdl-1.2.15/src/timer/wince/
DSDL_systimer.c99 static HANDLE timersThread = 0; variable
123 timersThread = CreateThread(NULL, 0, TimersThreadProc, 0, 0, 0); in SDL_SYS_TimerInit()
124 if( !timersThread ) in SDL_SYS_TimerInit()
129 SetThreadPriority(timersThread, THREAD_PRIORITY_HIGHEST); in SDL_SYS_TimerInit()
137 if( WaitForSingleObject(timersThread, 2000) == WAIT_TIMEOUT ) in SDL_SYS_TimerQuit()
138 TerminateThread(timersThread, 0); in SDL_SYS_TimerQuit()
139 CloseHandle(timersThread); in SDL_SYS_TimerQuit()