#ifndef ROOT_TSemaphore
#define ROOT_TSemaphore
#ifndef ROOT_TObject
#include "TObject.h"
#endif
#ifndef ROOT_TMutex
#include "TMutex.h"
#endif
#ifndef ROOT_TCondition
#include "TCondition.h"
#endif
class TSemaphore : public TObject {
private:
   TMutex       fMutex;   
   TCondition   fCond;    
   Int_t        fValue;   
   TSemaphore(const TSemaphore &s);             
   TSemaphore& operator=(const TSemaphore &s);  
public:
   TSemaphore(UInt_t initial = 1);
   virtual ~TSemaphore() { }
   Int_t  Wait(Int_t millisec = 0);
   Int_t  TryWait();
   Int_t  Post();
   ClassDef(TSemaphore,0)  
};
#endif
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.