Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation
Public Types | Public Member Functions | Public Attributes
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 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]
bool qpid::sys::PODMutex::trylock ( ) [inline]

Definition at line 103 of file Mutex.h.

References mutex.

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 Mon Aug 22 2011 for Qpid C++ Client API by doxygen 1.7.4