#include <TGo4LockGuard.h>
Public Methods | |
TGo4LockGuard (TMutex *mutex=0) | |
virtual | ~TGo4LockGuard () |
Static Public Attributes | |
TMutex * | fgxMainMutex = 0 |
Main Mutex of the go4 system. More... | |
Int_t | fgiLockCount = 0 |
Counts the numbers of locks of the recursive main mutex. More... | |
Private Attributes | |
TMutex * | fxMutex |
Reference to Mutex associated with this lockguard (external or internal). More... | |
Bool_t | fbIsLocked |
We need this flag if first TThread starts in between ctor and dtor. More... | |
Bool_t | fbIsMainMutex |
True if the mutex of this lockguard instance is the global go4 main mutex. More... |
|
Definition at line 25 of file TGo4LockGuard.cxx. References fbIsLocked, fbIsMainMutex, fgiLockCount, fgxMainMutex, and fxMutex. |
|
Definition at line 75 of file TGo4LockGuard.cxx. References fbIsMainMutex, fgiLockCount, and fxMutex. |
|
Reference to Mutex associated with this lockguard (external or internal).
Definition at line 56 of file TGo4LockGuard.h. Referenced by TGo4LockGuard(), and ~TGo4LockGuard(). |
|
We need this flag if first TThread starts in between ctor and dtor.
Definition at line 61 of file TGo4LockGuard.h. Referenced by TGo4LockGuard(). |
|
True if the mutex of this lockguard instance is the global go4 main mutex.
Definition at line 66 of file TGo4LockGuard.h. Referenced by TGo4LockGuard(), and ~TGo4LockGuard(). |
|
Main Mutex of the go4 system. Used to protect any memory critical operations. This mutex is applied if lockguard is called without giving external mutex. Definition at line 23 of file TGo4LockGuard.cxx. Referenced by TGo4CintLockTimer::Notify(), TGo4Socket::Send(), and TGo4LockGuard(). |
|
Counts the numbers of locks of the recursive main mutex.
Definition at line 22 of file TGo4LockGuard.cxx. Referenced by TGo4LockGuard(), and ~TGo4LockGuard(). |