|
CPN
Computational Process Networks
|
#include <PthreadMutex.h>
Inheritance diagram for PthreadMutex:
Collaboration diagram for PthreadMutex:Public Member Functions | |
| PthreadMutex (void) | |
| PthreadMutex (const PthreadMutexAttr &attr) | |
| ~PthreadMutex (void) | |
| operator pthread_mutex_t * () | |
| operator const pthread_mutex_t * () const | |
| PthreadMutex & | Lock (void) |
| PthreadMutex & | Unlock (void) |
| PthreadMutex & | Take (void) |
| PthreadMutex & | Give (void) |
| bool | Poll (void) |
| int | Error (void) |
| void | Clear (void) |
Protected Member Functions | |
| void | TrapError (int result) |
Protected Attributes | |
| int | error |
Private Attributes | |
| pthread_mutex_t | theMutex |
Definition at line 40 of file PthreadMutex.h.
| PthreadMutex::PthreadMutex | ( | void | ) |
Definition at line 33 of file PthreadMutex.cc.
References theMutex, and PthreadErrorHandler::TrapError().
Here is the call graph for this function:| PthreadMutex::PthreadMutex | ( | const PthreadMutexAttr & | attr | ) |
Definition at line 42 of file PthreadMutex.cc.
References theMutex, and PthreadErrorHandler::TrapError().
Here is the call graph for this function:| PthreadMutex::~PthreadMutex | ( | void | ) |
Definition at line 57 of file PthreadMutex.cc.
References theMutex, and PthreadErrorHandler::TrapError().
Here is the call graph for this function:
|
inlineinherited |
|
inlineinherited |
|
inline |
Definition at line 52 of file PthreadMutex.h.
References Unlock().
Referenced by PthreadMutexProtected::~PthreadMutexProtected().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 49 of file PthreadMutex.h.
References theMutex, and PthreadErrorHandler::TrapError().
Referenced by CPN::QueueBase::Lock(), and Take().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
| bool PthreadMutex::Poll | ( | void | ) |
Definition at line 69 of file PthreadMutex.cc.
References theMutex, and PthreadErrorHandler::TrapError().
Here is the call graph for this function:
|
inline |
Definition at line 51 of file PthreadMutex.h.
References Lock().
Referenced by PthreadMutexProtected::PthreadMutexProtected().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprotectedinherited |
Definition at line 48 of file PthreadErrorHandler.h.
References PthreadErrorHandler::error.
Referenced by PthreadCondition::Broadcast(), PthreadAttr::DetachState(), PthreadBase::Join(), Pthread::Join(), Lock(), Poll(), Pthread::Pthread(), PthreadAttr::PthreadAttr(), PthreadBase::PthreadBase(), PthreadCondition::PthreadCondition(), PthreadConditionAttr::PthreadConditionAttr(), PthreadKey< T >::PthreadKey(), PthreadMutex(), PthreadMutexAttr::PthreadMutexAttr(), PthreadReadWriteLock::ReadUnlock(), PthreadAttr::ScheduleScope(), PthreadKey< T >::Set(), PthreadCondition::Signal(), PthreadCondition::TimedWait(), Unlock(), PthreadCondition::Wait(), PthreadReadWriteLock::WriteUnlock(), PthreadAttr::~PthreadAttr(), PthreadCondition::~PthreadCondition(), PthreadConditionAttr::~PthreadConditionAttr(), PthreadKey< T >::~PthreadKey(), ~PthreadMutex(), and PthreadMutexAttr::~PthreadMutexAttr().
Here is the caller graph for this function:
|
inline |
Definition at line 50 of file PthreadMutex.h.
References theMutex, and PthreadErrorHandler::TrapError().
Referenced by Give(), and CPN::QueueBase::Unlock().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protectedinherited |
Definition at line 43 of file PthreadErrorHandler.h.
Referenced by PthreadErrorHandler::Clear(), PthreadErrorHandler::Error(), PthreadErrorHandler::PthreadErrorHandler(), and PthreadErrorHandler::TrapError().
|
private |
Definition at line 57 of file PthreadMutex.h.
Referenced by Lock(), operator const pthread_mutex_t *(), operator pthread_mutex_t *(), Poll(), PthreadMutex(), Unlock(), and ~PthreadMutex().
1.8.5