[SDL] How to check if a mutex is locked?

Starg steve at coldbeamgames.com
Thu Sep 11 12:44:04 PDT 2014


Right, i see what you mean.

Well, in this particular case, my game saves data on exit. This is done on a separate thread. I wanted the main thread to check if the mutex was unlocked so the game can quit.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20140911/5120c2db/attachment-0002.htm>


More information about the SDL mailing list