#ifndef ROOT_TMutex
#define ROOT_TMutex
#ifndef ROOT_TVirtualMutex
#include "TVirtualMutex.h"
#endif
#ifndef ROOT_TThread
#include "TThread.h"
#endif
#ifndef ROOT_TMutexImp
#include "TMutexImp.h"
#endif
class TMutex : public TVirtualMutex {
friend class TCondition;
friend class TThread;
private:
TMutexImp *fMutexImp;
Long_t fId;
Int_t fRef;
TMutex(const TMutex&);
TMutex& operator=(const TMutex&);
public:
TMutex(Bool_t recursive = kFALSE);
virtual ~TMutex() { delete fMutexImp; }
Int_t Lock();
Int_t TryLock();
Int_t UnLock();
Int_t CleanUp();
TVirtualMutex *Factory(Bool_t recursive = kFALSE);
ClassDef(TMutex,0)
};
#endif
Last change: Tue Nov 25 08:47:52 2008
Last generated: 2008-11-25 08:47
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.