#include <Mutex.hpp>
Public Member Functions | |
Mutex () | |
Create a new recursive Mutex object. | |
~Mutex () | |
Destroy this Mutex object. | |
void | acquire () |
Acquire ownership of this Mutex object. | |
bool | release () |
Release ownership of this Mutex object. | |
Private Member Functions | |
Mutex (const Mutex &) | |
Mutex & | operator= (const Mutex &) |
Private Attributes | |
Mutex_t | m_mutex |
Definition at line 46 of file Mutex.hpp.
|
Create a new recursive Mutex object.
Definition at line 46 of file Mutex.cpp. References BLOCXX_THROW, BLOCXX_NAMESPACE::MutexImpl::createMutex(), and m_mutex. |
|
Destroy this Mutex object.
Definition at line 53 of file Mutex.cpp. References BLOCXX_NAMESPACE::MutexImpl::destroyMutex(), m_mutex, and BLOCXX_NAMESPACE::MutexImpl::releaseMutex(). |
|
|
|
Acquire ownership of this Mutex object. This call will block if another thread has ownership of this Mutex. When it returns, the current thread will be the owner of this Mutex object. Definition at line 62 of file Mutex.cpp. References BLOCXX_NAMESPACE::MutexImpl::acquireMutex(), BLOCXX_THROW, and m_mutex. |
|
|
|
Release ownership of this Mutex object. If another thread is waiting to acquire the ownership of this mutex it will stop blocking and acquire ownership when this call returns. Definition at line 72 of file Mutex.cpp. References BLOCXX_THROW, m_mutex, and BLOCXX_NAMESPACE::MutexImpl::releaseMutex(). |
|
|