Bdb packages | Design docs | Source docs | Guidelines | Recent releases

Search | Site Map .

Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

BdbPTMutex Class Reference

#include <BdbPTMutex.h>

List of all members.

Public Methods

 BdbPTMutex ()
 BdbPTMutex (const BdbPTMutexAttr &Attr)
 ~BdbPTMutex ()
int lock (void)
int trylock (void)
int unlock (void)

Private Methods

 BdbPTMutex (BdbPTMutex &c)
BdbPTMutex & operator= (BdbPTMutex &c)

Private Attributes

pthread_mutex_t mutex

Friends

class BdbPTCond


Constructor & Destructor Documentation

BdbPTMutex::BdbPTMutex   [inline]
 

Definition at line 58 of file BdbPTMutex.h.

References mutex.

BdbPTMutex::BdbPTMutex const BdbPTMutexAttr   Attr [inline]
 

Definition at line 62 of file BdbPTMutex.h.

References BdbPTMutexAttr::attr, and mutex.

BdbPTMutex::~BdbPTMutex   [inline]
 

Definition at line 67 of file BdbPTMutex.h.

References mutex.

BdbPTMutex::BdbPTMutex BdbPTMutex &    c [inline, private]
 

Definition at line 53 of file BdbPTMutex.h.


Member Function Documentation

int BdbPTMutex::lock void    [inline]
 

Definition at line 72 of file BdbPTMutex.h.

References mutex.

Referenced by BdbPTSemaphore::decrement(), BdbPTSemaphore::down(), BdbPTRemoteCopySend::run(), BdbPTRemoteCopyRecv::run(), BdbPTCopy::run(), BdbPTChecksum::run(), BdbPTSemaphore::up(), and BdbPTSemaphore::value().

BdbPTMutex& BdbPTMutex::operator= BdbPTMutex &    c [inline, private]
 

Definition at line 54 of file BdbPTMutex.h.

int BdbPTMutex::trylock void    [inline]
 

Definition at line 76 of file BdbPTMutex.h.

References mutex.

int BdbPTMutex::unlock void    [inline]
 

Definition at line 80 of file BdbPTMutex.h.

References mutex.

Referenced by BdbPTSemaphore::decrement(), BdbPTSemaphore::down(), BdbPTRemoteCopySend::run(), BdbPTRemoteCopyRecv::run(), BdbPTCopy::run(), BdbPTChecksum::run(), BdbPTSemaphore::up(), and BdbPTSemaphore::value().


Friends And Related Function Documentation

friend class BdbPTCond [friend]
 

Definition at line 49 of file BdbPTMutex.h.


Member Data Documentation

pthread_mutex_t BdbPTMutex::mutex [private]
 

Definition at line 35 of file BdbPTMutex.h.

Referenced by BdbPTMutex(), lock(), BdbPTCond::timedwait(), trylock(), unlock(), BdbPTCond::wait(), and ~BdbPTMutex().


The documentation for this class was generated from the following file:

 


BaBar Public Site | SLAC | News | Links | Who's Who | Contact Us

Page Owner: Jacek Becla
Last Update: October 04, 2002