|
IBR-DTNSuite
0.12
|
#include <Mutex.h>


Public Types | |
| enum | MUTEX_TYPE { MUTEX_NORMAL = PTHREAD_MUTEX_NORMAL, MUTEX_RECURSIVE = PTHREAD_MUTEX_RECURSIVE, MUTEX_ERRORCHECK = PTHREAD_MUTEX_ERRORCHECK } |
Public Member Functions | |
| Mutex (MUTEX_TYPE type=MUTEX_NORMAL) | |
| virtual | ~Mutex () |
| virtual void | trylock () throw (MutexException) |
| virtual void | enter () throw (MutexException) |
| virtual void | leave () throw (MutexException) |
Public Member Functions inherited from ibrcommon::MutexInterface | |
| virtual | ~MutexInterface ()=0 |
Static Public Member Functions | |
| static MutexInterface & | dummy () |
Protected Attributes | |
| pthread_mutex_t | m_mutex |
| pthread_mutexattr_t | m_attr |
| ibrcommon::Mutex::Mutex | ( | MUTEX_TYPE | type = MUTEX_NORMAL) |
|
virtual |
|
static |
|
virtual | |||||||||||||
Implements ibrcommon::MutexInterface.
Definition at line 60 of file Mutex.cpp.
References m_mutex.
Referenced by dtn::storage::DataStorage::istream::istream(), dtn::net::EMailImapService::run(), and dtn::net::EMailSmtpService::run().
|
virtual | |||||||||||||
Implements ibrcommon::MutexInterface.
Definition at line 98 of file Mutex.cpp.
References m_mutex.
Referenced by dtn::net::EMailImapService::__cancellation(), dtn::net::EMailSmtpService::__cancellation(), dtn::net::EMailImapService::fetchMails(), dtn::net::EMailSmtpService::run(), dtn::net::EMailSmtpService::submitNow(), and dtn::net::EMailSmtpService::submitQueue().
|
virtual | |||||||||||||
|
protected |
|
protected |