12#ifndef ROOT_TSemaphore
13#define ROOT_TSemaphore
25#include <condition_variable>
int Int_t
Signed integer 4 bytes (int).
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
#define ClassDefOverride(name, id)
TObject()
TObject constructor.
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...