#include <TGo4CintLockTimer.h>
Public Methods | |
TGo4CintLockTimer (Long_t msperiod=3000, Bool_t mode=kTRUE) | |
virtual | ~TGo4CintLockTimer () |
virtual Bool_t | Notify () |
Routine called from TTimer on timeout. More... | |
Private Attributes | |
Bool_t | fbHaveLock |
True if this timer has locked the main mutex. More... | |
Static Private Attributes | |
UInt_t | fguTHREADTIME = 50 |
Time window in ms between unlock of mutex and the next request in this timer notify. More... |
Go4 thread activities that acquire the Go4 main mutex are only allowed within a small time window inside the Notify of this timer. Besides this, the root application will hold the main mutex completely, thus avoiding go4 threads to interfere with root system. Note: this mechanism is the complement to the threadmanager application blocking mode, meant to block the root application and allow the threads everything.
Definition at line 38 of file TGo4CintLockTimer.h.
|
Definition at line 29 of file TGo4CintLockTimer.cxx. |
|
Definition at line 36 of file TGo4CintLockTimer.cxx. |
|
Routine called from TTimer on timeout.
Definition at line 42 of file TGo4CintLockTimer.cxx. References fbHaveLock, fguTHREADTIME, and TGo4LockGuard::fgxMainMutex. |
|
Time window in ms between unlock of mutex and the next request in this timer notify. May be used for tuning application performance. Definition at line 25 of file TGo4CintLockTimer.cxx. Referenced by Notify(). |
|
True if this timer has locked the main mutex.
Definition at line 60 of file TGo4CintLockTimer.h. Referenced by Notify(). |