#include <TGo4LockGuard.h>
Public Member Functions | |
TGo4LockGuard (TMutex *mutex=0) | |
virtual | ~TGo4LockGuard () |
Static Public Member Functions | |
static void | LockMainMutex () |
static void | UnLockMainMutex () |
Private Attributes | |
TMutex * | fxMutex |
Reference to Mutex associated with this lockguard (external or internal). | |
Bool_t | fbIsLocked |
We need this flag if first TThread starts in between ctor and dtor. | |
Bool_t | fbIsMainMutex |
True if the mutex of this lockguard instance is the global go4 main mutex. | |
Static Private Attributes | |
static TMutex * | fgxMainMutex = 0 |
Main Mutex of the go4 system. | |
static Int_t | fgiLockCount = 0 |
Counts the numbers of locks of the recursive main mutex. |
|
Definition at line 26 of file TGo4LockGuard.cxx. References fbIsLocked, fbIsMainMutex, fgiLockCount, fgxMainMutex, and fxMutex. |
|
Definition at line 73 of file TGo4LockGuard.cxx. References fbIsLocked, fbIsMainMutex, fgiLockCount, and fxMutex. |
|
Definition at line 102 of file TGo4LockGuard.cxx. References fgxMainMutex. Referenced by TGo4Task::LockAll(), TGo4ServerTask::LockAll(), and TGo4Socket::Send(). |
|
Definition at line 107 of file TGo4LockGuard.cxx. References fgxMainMutex. Referenced by TGo4Socket::Send(), TGo4Task::UnLockAll(), and TGo4ServerTask::UnLockAll(). |
|
Reference to Mutex associated with this lockguard (external or internal).
Definition at line 57 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 60 of file TGo4LockGuard.h. Referenced by TGo4LockGuard(), and ~TGo4LockGuard(). |
|
True if the mutex of this lockguard instance is the global go4 main mutex.
Definition at line 64 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 21 of file TGo4LockGuard.cxx. Referenced by LockMainMutex(), TGo4LockGuard(), and UnLockMainMutex(). |
|
Counts the numbers of locks of the recursive main mutex.
Definition at line 23 of file TGo4LockGuard.cxx. Referenced by TGo4LockGuard(), and ~TGo4LockGuard(). |