48 Error(
"TCondition",
"could not create TConditionImp");
123 absNanoSec += (
ms - dsec*1000) * 1000000;
124 if (absNanoSec > 999999999) {
126 absNanoSec -= 1000000000;
R__EXTERN TThreadFactory * gThreadFactory
virtual Int_t TimedWait(ULong_t secs, ULong_t nanoSecs=0)=0
virtual ~TCondition()
Clean up condition variable.
Int_t TimedWait(ULong_t secs, ULong_t nanoSecs)
Wait to be signaled or till the timer times out.
TConditionImp * fConditionImp
TCondition(const TCondition &)
Int_t TimedWaitRelative(ULong_t ms)
Wait to be signaled or till the timer times out.
TMutex * GetMutex() const
Get internally created mutex.
Int_t Wait()
Wait to be signaled.
Int_t UnLock()
Unlock the mutex.
Int_t Lock()
Lock the mutex.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
virtual TConditionImp * CreateConditionImp(TMutexImp *m)=0
static Int_t GetTime(ULong_t *absSec, ULong_t *absNanoSec)
Static method to get the current time.
static constexpr double ms