Searched refs:SDL_EventLock (Results 1 – 1 of 1) sorted by relevance
56 } SDL_EventLock; variable66 SDL_mutexP(SDL_EventLock.lock); in SDL_Lock_EventThread()67 while ( ! SDL_EventLock.safe ) { in SDL_Lock_EventThread()75 SDL_mutexV(SDL_EventLock.lock); in SDL_Unlock_EventThread()121 SDL_EventLock.safe = 1; in SDL_GobbleEvents()135 SDL_mutexP(SDL_EventLock.lock); in SDL_GobbleEvents()136 SDL_EventLock.safe = 0; in SDL_GobbleEvents()137 SDL_mutexV(SDL_EventLock.lock); in SDL_GobbleEvents()148 SDL_memset(&SDL_EventLock, 0, sizeof(SDL_EventLock)); in SDL_StartEventThread()164 SDL_EventLock.lock = SDL_CreateMutex(); in SDL_StartEventThread()[all …]