#ifndef ROOT_TCondition
#define ROOT_TCondition
#ifndef ROOT_TObject
#include "TObject.h"
#endif
#ifndef ROOT_TConditionImp
#include "TConditionImp.h"
#endif
class TMutex;
class TCondition : public TObject {
friend class TThread;
private:
TConditionImp *fConditionImp;
TMutex *fMutex;
Bool_t fPrivateMutex;
TCondition(const TCondition&);
TCondition& operator=(const TCondition&);
public:
TCondition(TMutex *m = 0);
virtual ~TCondition();
TMutex *GetMutex() const;
Int_t Wait();
Int_t TimedWait(ULong_t secs, ULong_t nanoSecs);
Int_t TimedWaitRelative(ULong_t ms);
Int_t Signal() { if (fConditionImp) return fConditionImp->Signal(); return -1; }
Int_t Broadcast() { if (fConditionImp) return fConditionImp->Broadcast(); return -1; }
ClassDef(TCondition,0)
};
#endif
Last change: Wed Jun 25 08:35:46 2008
Last generated: 2008-06-25 08:35
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.