TGo4LockGuard(TMutex *mutex=nullptr, Bool_t=kFALSE)
Bool_t fbIsLocked
We need this flag if first TThread starts in between ctor and dtor.
static void LockMainMutex()
static Int_t MainMutexLockCount()
static void UnLockMainMutex()
static Int_t fgiLockCount
Counts the numbers of locks of the recursive main mutex.
Bool_t fbIsMainMutex
True if the mutex of this lockguard instance is the global go4 main mutex.
static TMutex * fgxMainMutex
Main Mutex of the go4 system.
TMutex * fxMutex
Reference to Mutex associated with this lockguard (external or internal)