Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation
Public Types | Public Member Functions | Public Attributes | List of all members
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>

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 83 of file Mutex.h.

Definition at line 93 of file Mutex.h.

Member Function Documentation

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

Definition at line 95 of file Mutex.h.

References mutex, and QPID_POSIX_ASSERT_THROW_IF.

void qpid::sys::PODMutex::lock ( )
inline
bool qpid::sys::PODMutex::trylock ( )
inline

Definition at line 103 of file Mutex.h.

References mutex.

bool qpid::sys::PODMutex::trylock ( )
inline
void qpid::sys::PODMutex::unlock ( )
inline

Definition at line 99 of file Mutex.h.

References mutex, and QPID_POSIX_ASSERT_THROW_IF.

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

Member Data Documentation

pthread_mutex_t qpid::sys::PODMutex::mutex

Definition at line 90 of file Mutex.h.

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

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

Definition at line 100 of file Mutex.h.


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

Qpid C++ API Reference
Generated on Wed May 28 2014 for Qpid C++ Client API by doxygen 1.8.5