Searched refs:timersThread (Results 1 – 1 of 1) sorted by relevance
99 static HANDLE timersThread = 0; variable123 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()