24 #ifndef __CORE_THREADING_MUTEX_LOCKER_H_ 25 #define __CORE_THREADING_MUTEX_LOCKER_H_ 27 #include <core/utils/refptr.h> MutexLocker(RefPtr< Mutex > mutex, bool initially_lock=true)
Constructor.
Fawkes library namespace.
void unlock()
Unlock the mutex.
void relock()
Lock this mutex, again.
~MutexLocker()
Destructor.
RefPtr<> is a reference-counting shared smartpointer.
Mutex mutual exclusion lock.