14#ifndef TGo4AppControlTimer_h
15#define TGo4AppControlTimer_h
Timer with main purpose to block the root TApplication loop during thread execution.
const TCondition * GetCondition() const
Returns handle for internal condition which is used to block the gSystem.
void SetManager(TGo4ThreadManager *parent)
Sets reference to new thread manager.
TGo4ThreadManager * fxManager
Backlink to threadmanager who owns this timer.
Bool_t Notify() override
Routine called from TTimer on timeout.
TGo4AppControlTimer()=delete
Bool_t GetApplicationRun() const
Status of the application run flag.
void SetApplicationRun(Bool_t flag=kTRUE)
Switches between blocking and non blocking mode of the timer.
virtual ~TGo4AppControlTimer()
TGo4AppControlTimer(TGo4ThreadManager *manager, Long_t msperiod=3000, Bool_t mode=kTRUE)
static UInt_t fguTERMWAIT
time in ms to wait for all Runnables being stopped before Termination; after this time,...
static Int_t fgiTERMWAITCYCLES
On Termination, Notify will test fgiTERMWAITCYCLES times if Runnables are stopped,...