22 #include "common/thread/sdl_mutex_wrapper.h"
24 #include <SDL_thread.h>
34 : m_cond(SDL_CreateCond())
39 SDL_DestroyCond(m_cond);
52 SDL_CondSignal(m_cond);
55 void Wait(SDL_mutex* mutex)
57 SDL_CondWait(m_cond, mutex);
Wrapper for safe creation/deletion of SDL_cond.
Definition: sdl_cond_wrapper.h:30