12 #ifndef ROOT_TSemaphore
13 #define ROOT_TSemaphore
31 #ifndef ROOT_TCondition
Int_t TryWait()
If semaphore value is > 0 then decrement it and return 0.
Int_t Wait(Int_t millisec=0)
If semaphore value is > 0 then decrement it and carry on.
#define ClassDef(name, id)
TSemaphore(const TSemaphore &s)
Int_t Post()
If any threads are blocked in Wait(), wake one of them up and increment the value of the semaphore...
TSemaphore & operator=(const TSemaphore &s)
Mother of all ROOT objects.