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