24 #include <core/threading/mutex_locker.h> 25 #include <core/threading/mutex.h> 94 if ( initially_lock ) {
97 __locked = initially_lock;
108 if ( initially_lock ) {
111 __locked = initially_lock;
122 __refmutex->unlock();
151 __refmutex->unlock();
MutexLocker(RefPtr< Mutex > mutex, bool initially_lock=true)
Constructor.
Fawkes library namespace.
void unlock()
Unlock the mutex.
void unlock()
Unlock the mutex.
void relock()
Lock this mutex, again.
~MutexLocker()
Destructor.
RefPtr<> is a reference-counting shared smartpointer.
void lock()
Lock this mutex.
Mutex mutual exclusion lock.