GL Studio C++ Runtime API
|
A lock class to automagically un/lock a mutex within its scope. More...
#include <gls_mutex.h>
Public Member Functions | |
ScopedLock (Mutex &mut) | |
Lock the given mutex (blocks on failure to acquire) | |
~ScopedLock () | |
Releases the mutex automatically. | |
A lock class to automagically un/lock a mutex within its scope.