Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET | Apache Qpid Documentation |
A monitor is a condition variable and a mutex. More...
#include <qpid/sys/Monitor.h>
Public Types | |
typedef ::qpid::sys::ScopedLock< Mutex > | ScopedLock |
typedef ::qpid::sys::ScopedLock< Mutex > | ScopedLock |
typedef ::qpid::sys::ScopedUnlock < Mutex > | ScopedUnlock |
typedef ::qpid::sys::ScopedUnlock < Mutex > | ScopedUnlock |
Public Member Functions | |
void | wait () |
bool | wait (const AbsTime &absoluteTime) |
void | lock () |
void | lock () |
void | unlock () |
void | unlock () |
bool | trylock () |
bool | trylock () |
void | wait (Mutex &) |
bool | wait (Mutex &, const AbsTime &absoluteTime) |
void | notify () |
void | notify () |
void | notifyAll () |
void | notifyAll () |
Protected Attributes | |
pthread_mutex_t | mutex |
boost::recursive_mutex | mutex |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
Definition at line 115 of file Mutex.h.
References qpid::sys::Mutex::mutex, and QPID_POSIX_ASSERT_THROW_IF.
|
inlineinherited |
|
inlineinherited |
Definition at line 77 of file Condition.h.
References QPID_POSIX_ASSERT_THROW_IF.
|
inlineinherited |
|
inlineinherited |
Definition at line 81 of file Condition.h.
References QPID_POSIX_ASSERT_THROW_IF.
|
inlineinherited |
|
inlineinherited |
Definition at line 123 of file Mutex.h.
References qpid::sys::Mutex::mutex.
|
inlineinherited |
|
inlineinherited |
Definition at line 119 of file Mutex.h.
References qpid::sys::Mutex::mutex, and QPID_POSIX_ASSERT_THROW_IF.
|
inlineinherited |
|
inline |
|
inline |
|
inlineinherited |
Definition at line 62 of file Condition.h.
References qpid::sys::Mutex::mutex, and QPID_POSIX_ASSERT_THROW_IF.
Definition at line 66 of file Condition.h.
References qpid::sys::EPOCH, qpid::sys::Mutex::mutex, QPID_POSIX_ERROR, and qpid::sys::toTimespec().
|
protectedinherited |
Definition at line 51 of file Mutex.h.
Referenced by qpid::sys::Mutex::lock(), qpid::sys::Mutex::Mutex(), qpid::sys::Mutex::trylock(), qpid::sys::Mutex::unlock(), qpid::sys::Condition::wait(), and qpid::sys::Mutex::~Mutex().
|
protectedinherited |