[SDL] How to check if a mutex is locked?
grimfang4 at gmail.com
Thu Sep 11 13:18:43 PDT 2014
I think what you'd want is to SDL_WaitThread() in your main thread to be
sure that all other threads are done processing. If other threads process
in a continuous loop, use a mutexed variable or a message queue to tell the
other thread to quit the loop and let the thread end.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SDL