|
GL Studio API
|
A lock to automagically try to lock and, if applicable, unlock a mutex within its scope. More...
#include <gls_mutex.h>
Public Member Functions | |
| ScopedTryLock (Mutex &mut) | |
| Tries to lock the given mutex. | |
| bool | IsLocked () const |
| Returns whether the lock succeeded. | |
| ~ScopedTryLock () | |
| Releases the mutex automatically, if needed. | |
A lock to automagically try to lock and, if applicable, unlock a mutex within its scope.
1.8.10