Apache Qpid C++ API
Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation

qpid::sys::PODMutex Struct Reference

PODMutex is a POD, can be static-initialized with PODMutex m = QPID_PODMUTEX_INITIALIZER. More...

#include <qpid/sys/posix/Mutex.h>

List of all members.

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

Detailed Description

PODMutex is a POD, can be static-initialized with PODMutex m = QPID_PODMUTEX_INITIALIZER.

Definition at line 81 of file Mutex.h.


Member Typedef Documentation

Definition at line 93 of file Mutex.h.

Definition at line 83 of file Mutex.h.


Member Function Documentation

void qpid::sys::PODMutex::lock (  )  [inline]
void qpid::sys::PODMutex::lock (  )  [inline]

Definition at line 95 of file Mutex.h.

References mutex, and QPID_POSIX_ASSERT_THROW_IF.

bool qpid::sys::PODMutex::trylock (  )  [inline]
bool qpid::sys::PODMutex::trylock (  )  [inline]

Definition at line 103 of file Mutex.h.

References mutex.

void qpid::sys::PODMutex::unlock (  )  [inline]
void qpid::sys::PODMutex::unlock (  )  [inline]

Definition at line 99 of file Mutex.h.

References mutex, and QPID_POSIX_ASSERT_THROW_IF.


Member Data Documentation

boost::recursive_mutex qpid::sys::PODMutex::mutex

Definition at line 100 of file Mutex.h.

pthread_mutex_t qpid::sys::PODMutex::mutex

Definition at line 90 of file Mutex.h.

Referenced by lock(), trylock(), and unlock().


The documentation for this struct was generated from the following files:

Qpid C++ API Reference
Generated on Thu Mar 4 00:51:15 2010 for Qpid C++ Client API by doxygen 1.6.1