Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET | Apache Qpid Documentation |
#include <qpid/sys/posix/Mutex.h>
Public Types | |
typedef ::qpid::sys::ScopedLock< Mutex > | ScopedLock |
typedef ::qpid::sys::ScopedUnlock < Mutex > | ScopedUnlock |
typedef ::qpid::sys::ScopedLock< Mutex > | ScopedLock |
typedef ::qpid::sys::ScopedUnlock < Mutex > | ScopedUnlock |
Public Member Functions | |
Mutex () | |
~Mutex () | |
void | lock () |
void | unlock () |
bool | trylock () |
Mutex () | |
~Mutex () | |
void | lock () |
void | unlock () |
bool | trylock () |
Protected Attributes | |
pthread_mutex_t | mutex |
boost::recursive_mutex | mutex |
Mutex lock.
Definition at line 35 of file Mutex.h.
qpid::sys::Mutex::Mutex | ( | ) | [inline] |
Definition at line 107 of file Mutex.h.
References mutex, and QPID_POSIX_ASSERT_THROW_IF.
qpid::sys::Mutex::~Mutex | ( | ) | [inline] |
Definition at line 111 of file Mutex.h.
References mutex, and QPID_POSIX_ABORT_IF.
qpid::sys::Mutex::Mutex | ( | ) | [inline] |
qpid::sys::Mutex::~Mutex | ( | ) | [inline] |
void qpid::sys::Mutex::lock | ( | ) | [inline] |
void qpid::sys::Mutex::lock | ( | ) | [inline] |
Definition at line 115 of file Mutex.h.
References mutex, and QPID_POSIX_ASSERT_THROW_IF.
bool qpid::sys::Mutex::trylock | ( | ) | [inline] |
bool qpid::sys::Mutex::trylock | ( | ) | [inline] |
void qpid::sys::Mutex::unlock | ( | ) | [inline] |
void qpid::sys::Mutex::unlock | ( | ) | [inline] |
Definition at line 119 of file Mutex.h.
References mutex, and QPID_POSIX_ASSERT_THROW_IF.
boost::recursive_mutex qpid::sys::Mutex::mutex [protected] |
pthread_mutex_t qpid::sys::Mutex::mutex [protected] |