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