38 fPrivateMutex = (m == 0);
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.
void Error(const char *location, const char *msgfmt,...)
Int_t Wait()
Wait to be signaled.
TMutex * GetMutex() const
Get internally created mutex.
TConditionImp * fConditionImp
virtual Int_t TimedWait(ULong_t secs, ULong_t nanoSecs=0)=0
ClassImp(TCondition) TCondition
Create a condition variable.
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.