|
CPN
Computational Process Networks
|
#include <PthreadFunctional.h>
Inheritance diagram for PthreadFunctionalTemplate< T >:
Collaboration diagram for PthreadFunctionalTemplate< T >:Public Member Functions | |
| PthreadFunctionalTemplate (T &obj, void *(T::*meth)(void)) | |
| PthreadFunctionalTemplate (T &obj, void *(T::*meth)(void), const PthreadAttr &attr) | |
| void | Start (void) |
| int | Running (void) |
| int | Done (void) |
| void * | Join (void) |
| operator pthread_t * (void) | |
| operator pthread_t (void) | |
| int | operator== (pthread_t t2) |
| int | Detach (void) |
| int | Cancel (void) |
| int | SendSignal (int sig) |
| int | Kill (int sig) |
| int | Error (void) |
| void | Clear (void) |
Static Public Member Functions | |
| static pthread_t | Self (void) |
| static void | TestCancel (void) |
| static void | Exit (void *value) |
| static int | SendSignal (pthread_t thd, int sig) |
| static int | Kill (pthread_t thd, int sig) |
| static int | GetSignalMask (sigset_t *oldSet) |
| static int | SetSignalMask (const sigset_t *set, sigset_t *oldSet=0) |
| static int | BlockSignals (const sigset_t *set, sigset_t *oldSet=0) |
| static int | UnblockSignals (const sigset_t *set, sigset_t *oldSet=0) |
| static int | CancelEnable (void) |
| static int | CancelDisable (void) |
| static int | CancelDeferred (void) |
| static int | CancelAsynchronous (void) |
Protected Member Functions | |
| void | TrapError (int result) |
Protected Attributes | |
| pthread_t | theThread |
| int | error |
Private Member Functions | |
| void * | EntryPoint (void) |
Private Attributes | |
| T & | theObject |
| void *(T::* | theMethod )(void) |
Definition at line 48 of file PthreadFunctional.h.
|
inline |
Definition at line 50 of file PthreadFunctional.h.
|
inline |
Definition at line 52 of file PthreadFunctional.h.
|
inlinestaticinherited |
Definition at line 77 of file PthreadBase.h.
|
inlineinherited |
|
staticinherited |
Definition at line 105 of file PthreadBase.cc.
|
staticinherited |
Definition at line 95 of file PthreadBase.cc.
|
staticinherited |
Definition at line 86 of file PthreadBase.cc.
|
staticinherited |
Definition at line 76 of file PthreadBase.cc.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 72 of file PthreadLib.h.
References Pthread::done, Pthread::joined, Pthread::mutex, and Pthread::state.
|
inlineprivatevirtual |
Implements PthreadFunctional.
Definition at line 57 of file PthreadFunctional.h.
References PthreadFunctionalTemplate< T >::theMethod, and PthreadFunctionalTemplate< T >::theObject.
|
inlineinherited |
|
inlinestaticinherited |
Definition at line 64 of file PthreadBase.h.
|
inlinestaticinherited |
Definition at line 73 of file PthreadBase.h.
|
inherited |
Definition at line 108 of file PthreadLib.cc.
References PthreadCondition::Broadcast(), Pthread::cond, Pthread::inJoin, Pthread::joined, Pthread::mutex, Pthread::returnResult, Pthread::state, PthreadBase::theThread, PthreadErrorHandler::TrapError(), and PthreadCondition::Wait().
Referenced by Pthread::~Pthread().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 71 of file PthreadBase.h.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 64 of file PthreadLib.h.
References Pthread::mutex, Pthread::running, and Pthread::state.
|
inlinestaticinherited |
Definition at line 61 of file PthreadBase.h.
Referenced by PthreadBase::PthreadBase().
Here is the caller graph for this function:Definition at line 70 of file PthreadBase.h.
|
inlinestaticinherited |
Definition at line 75 of file PthreadBase.h.
|
inherited |
Definition at line 100 of file PthreadLib.cc.
References PthreadCondition::Broadcast(), Pthread::cond, Pthread::created, Pthread::mutex, Pthread::started, and Pthread::state.
Referenced by Pthread::~Pthread().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestaticinherited |
Definition at line 63 of file PthreadBase.h.
Referenced by Pthread::PthreadEntryPoint().
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(), PthreadMutex::Lock(), PthreadMutex::Poll(), Pthread::Pthread(), PthreadAttr::PthreadAttr(), PthreadBase::PthreadBase(), PthreadCondition::PthreadCondition(), PthreadConditionAttr::PthreadConditionAttr(), PthreadKey< T >::PthreadKey(), PthreadMutex::PthreadMutex(), PthreadMutexAttr::PthreadMutexAttr(), PthreadReadWriteLock::ReadUnlock(), PthreadAttr::ScheduleScope(), PthreadKey< T >::Set(), PthreadCondition::Signal(), PthreadCondition::TimedWait(), PthreadMutex::Unlock(), PthreadCondition::Wait(), PthreadReadWriteLock::WriteUnlock(), PthreadAttr::~PthreadAttr(), PthreadCondition::~PthreadCondition(), PthreadConditionAttr::~PthreadConditionAttr(), PthreadKey< T >::~PthreadKey(), PthreadMutex::~PthreadMutex(), and PthreadMutexAttr::~PthreadMutexAttr().
Here is the caller graph for this function:
|
inlinestaticinherited |
Definition at line 79 of file PthreadBase.h.
|
protectedinherited |
Definition at line 43 of file PthreadErrorHandler.h.
Referenced by PthreadErrorHandler::Clear(), PthreadErrorHandler::Error(), PthreadErrorHandler::PthreadErrorHandler(), and PthreadErrorHandler::TrapError().
|
private |
Definition at line 56 of file PthreadFunctional.h.
Referenced by PthreadFunctionalTemplate< T >::EntryPoint().
|
private |
Definition at line 55 of file PthreadFunctional.h.
Referenced by PthreadFunctionalTemplate< T >::EntryPoint().
|
protectedinherited |
Definition at line 126 of file PthreadBase.h.
Referenced by PthreadBase::Cancel(), PthreadBase::Detach(), PthreadBase::Join(), Pthread::Join(), PthreadBase::Kill(), PthreadBase::operator pthread_t(), PthreadBase::operator pthread_t *(), PthreadBase::operator==(), Pthread::Pthread(), PthreadBase::PthreadBase(), and PthreadBase::SendSignal().
1.8.5