41 #ifndef INCLUDED_DISTI_MUTEX_H 
   42 #define INCLUDED_DISTI_MUTEX_H 
   59     virtual DISTI_EXPORT 
~Mutex();
 
   62     DISTI_EXPORT 
void Lock();
 
   69     DISTI_EXPORT 
void Unlock();
 
   99             , _locked( _mut.TryLock() )
 
  125     Mutex( 
const Mutex& );
 
  126     void operator=( 
const Mutex& );
 
bool IsLocked() const 
Returns whether the lock succeeded. 
Definition: gls_mutex.h:103
void Unlock()
Releases the mutex, allowing another process to lock it. 
A file for all GL Studio files to include. 
ScopedLock(Mutex &mut)
Lock the given mutex (blocks on failure to acquire) 
Definition: gls_mutex.h:76
Definition: gls_mutex.h:52
~ScopedTryLock()
Releases the mutex automatically, if needed. 
Definition: gls_mutex.h:106
~ScopedLock()
Releases the mutex automatically. 
Definition: gls_mutex.h:83
virtual ~Mutex()
Destructor. 
A lock to automagically try to lock and, if applicable, unlock a mutex within its scope...
Definition: gls_mutex.h:93
ScopedTryLock(Mutex &mut)
Tries to lock the given mutex. 
Definition: gls_mutex.h:97
A lock class to automagically un/lock a mutex within its scope. 
Definition: gls_mutex.h:72
Definition: bmpimage.h:46
void Lock()
Blocks to acquire the mutex.