v2.10-0 (21000JUN2005)

Go4LockGuard
Class TGo4LockGuard


class TGo4LockGuard


Field Summary
 private Bool_tfbIsLocked
          We need this flag if first TThread starts in between ctor and dtor.
 private Bool_tfbIsMainMutex
          True if the mutex of this lockguard instance is the global
go4 main mutex.
 static Int_tfgiLockCount
          Counts the numbers of locks of the recursive main mutex.
 static TMutex*fgxMainMutex
          Main Mutex of the go4 system.
 private TMutex*fxMutex
          Reference to Mutex associated with this lockguard (external or internal)

Constructor Summary
TGo4LockGuard(TMutex* mutex)
           

Destructor Summary
 virtual synchronized ~TGo4LockGuard()
           

Field Detail

fbIsLocked

private Bool_t fbIsLocked
We need this flag if first TThread starts in between ctor and dtor.

fbIsMainMutex

private Bool_t fbIsMainMutex
True if the mutex of this lockguard instance is the global
go4 main mutex.

fgiLockCount

public static Int_t fgiLockCount
Counts the numbers of locks of the recursive main mutex.

fgxMainMutex

public static TMutex* fgxMainMutex
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.

fxMutex

private TMutex* fxMutex
Reference to Mutex associated with this lockguard (external or internal)
Constructor Detail

TGo4LockGuard

public TGo4LockGuard(TMutex* mutex)
Method Detail

~TGo4LockGuard

public virtual synchronized ~TGo4LockGuard()

Association Links

to Class TMutex

Reference to Mutex associated with this lockguard (external or internal)

to Class TMutex

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.

J.Adamczewski, M.Al-Turany, D.Bertini, H.G.Essel, S.Linev

30-06-2005