59 return this->m_oMutex.lock();
65 return this->m_oMutex.unlock();
73 return this->m_oMutex.try_lock();
79 mutable std::recursive_mutex m_oMutex;
A class for handling recursive mutexes.
Definition: Mutex.h:47
void lock() const
Locks the mutex. If the mutex is currently locked by another thread, this call will block the calling...
Definition: Mutex.h:58
CMutex()=default
Default constructor for CMutex.
void unlock() const
Unlocks the mutex.
Definition: Mutex.h:63
bool tryLock() const
Attempts to lock the mutex. If the mutex is not available for locking, this function returns immediat...
Definition: Mutex.h:72
virtual ~CMutex()=default
Default virtual destructor for CMutex.
The namespace encapsulating threading related classes and functions in the Devel framework.