12 #ifndef ROOT_TSemaphore 13 #define ROOT_TSemaphore 25 #include <condition_variable>
Int_t TryWait()
If the semaphore value is > 0 then decrement it and return 0.
#define ClassDef(name, id)
TSemaphore & operator=(const TSemaphore &s)=delete
std::condition_variable fCond
Int_t Wait()
If the semaphore value is > 0 then decrement it and carry on, else block, waiting on the condition un...
TSemaphore(const TSemaphore &s)=delete
Int_t Post()
Increment the value of the semaphore.
Mother of all ROOT objects.