GL Studio C++ Runtime API
Mutex::ScopedLock Class Reference

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.
 

Detailed Description

A lock class to automagically un/lock a mutex within its scope.


The documentation for this class was generated from the following file: