55 virtual Int_t
Run(
void *ptr) = 0;
Base class for all go4 runnables.
TGo4Runnable(const TGo4Runnable &right)
TGo4Thread * GetThread() const
TGo4Thread * fxGo4Thread
Backlink to thread which runs this.
void SetThread(TGo4Thread *gthread)
virtual Int_t PreRun(void *ptr)
Function which is called once before the Run() method on threadstart.
virtual void ThreadCatch(TGo4Exception &ex)
catch for exceptions occurring in workfunc
virtual Int_t PostRun(void *ptr)
Function which is called once after the Run()method on threadstop.
virtual Int_t Run(void *ptr)=0
The working function which runs in the thread.
TGo4ThreadManager * fxManager
The threadmanager which is responsible for our thread.
TGo4ThreadManager * GetThreadManager() const
TGo4Runnable(const char *name, TGo4ThreadManager *man)
virtual void UnexpectedCatch()
catch for all unexpected exceptions happening in workfunc