IBR-DTNSuite
0.10
|
#include <RWMutex.h>
Public Types | |
enum | LockState { LOCK_READONLY = 0, LOCK_READWRITE = 1 } |
Public Member Functions | |
RWMutex () | |
virtual | ~RWMutex () |
virtual void | trylock (LockState state) throw (MutexException) |
virtual void | enter (LockState state) throw (MutexException) |
virtual void | leave () throw (MutexException) |
Protected Attributes | |
pthread_rwlock_t | _rwlock |
ibrcommon::RWMutex::RWMutex | ( | ) |
Definition at line 27 of file RWMutex.cpp.
References _rwlock.
|
virtual |
Definition at line 32 of file RWMutex.cpp.
References _rwlock.
|
virtual |
Definition at line 62 of file RWMutex.cpp.
Referenced by ibrcommon::RWLock::RWLock().
|
virtual |
Definition at line 75 of file RWMutex.cpp.
References _rwlock.
Referenced by ibrcommon::RWLock::~RWLock().
|
virtual |
Definition at line 37 of file RWMutex.cpp.
|
protected |
Definition at line 46 of file RWMutex.h.
Referenced by leave(), RWMutex(), and ~RWMutex().