[SDL] How to check if a mutex is locked?
steve at coldbeamgames.com
Thu Sep 11 11:52:48 PDT 2014
Is there a way to check if a mutex is locked?
The only way I can see how to do it at the moment is to try and lock it. If it isn't locked I can then unlock it, and if it is locked I get a SDL_MUTEX_TIMEDOUT value back.
However, this seems like a clumsy solution.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SDL