Searched refs:assertion_mutex (Results 1 – 1 of 1) sorted by relevance
56 static SDL_mutex *assertion_mutex = NULL; variable271 if (assertion_mutex == NULL) { /* never called SDL_Init()? */ in SDL_ReportAssertion()272 assertion_mutex = SDL_CreateMutex(); in SDL_ReportAssertion()273 if (assertion_mutex == NULL) { in SDL_ReportAssertion()280 if (SDL_LockMutex(assertion_mutex) < 0) { in SDL_ReportAssertion()326 SDL_UnlockMutex(assertion_mutex); in SDL_ReportAssertion()335 if (assertion_mutex != NULL) { in SDL_AssertionsQuit()336 SDL_DestroyMutex(assertion_mutex); in SDL_AssertionsQuit()337 assertion_mutex = NULL; in SDL_AssertionsQuit()