Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET | Apache Qpid Documentation |
PODMutex is a POD, can be static-initialized with PODMutex m = QPID_PODMUTEX_INITIALIZER. More...
#include <qpid/sys/posix/Mutex.h>
Public Types | |
typedef ::qpid::sys::ScopedLock < PODMutex > | ScopedLock |
typedef ::qpid::sys::ScopedLock < PODMutex > | ScopedLock |
Public Member Functions | |
void | lock () |
void | unlock () |
bool | trylock () |
void | lock () |
void | unlock () |
bool | trylock () |
Public Attributes | |
pthread_mutex_t | mutex |
boost::recursive_mutex | mutex |
void qpid::sys::PODMutex::lock | ( | ) | [inline] |
Definition at line 95 of file Mutex.h.
References QPID_POSIX_ASSERT_THROW_IF, and mutex.
void qpid::sys::PODMutex::lock | ( | ) | [inline] |
bool qpid::sys::PODMutex::trylock | ( | ) | [inline] |
bool qpid::sys::PODMutex::trylock | ( | ) | [inline] |
void qpid::sys::PODMutex::unlock | ( | ) | [inline] |
Definition at line 99 of file Mutex.h.
References QPID_POSIX_ASSERT_THROW_IF, and mutex.
void qpid::sys::PODMutex::unlock | ( | ) | [inline] |
pthread_mutex_t qpid::sys::PODMutex::mutex |
boost::recursive_mutex qpid::sys::PODMutex::mutex |