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

ketmar ketmar at ketmar.no-ip.org
Thu Sep 11 13:03:15 PDT 2014


On Thu, 11 Sep 2014 19:44:04 +0000
"Starg" <steve at coldbeamgames.com> wrote:

> 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.
just grab it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20140911/5bec964e/attachment-0002.pgp>


More information about the SDL mailing list