#ifndef ROOT_TRWLock
#define ROOT_TRWLock
#ifndef ROOT_TObject
#include "TObject.h"
#endif
#ifndef ROOT_TMutex
#include "TMutex.h"
#endif
#ifndef ROOT_TCondition
#include "TCondition.h"
#endif
class TRWLock : public TObject {
private:
   Int_t        fReaders;   
   Int_t        fWriters;   
   TMutex       fMutex;     
   TCondition   fLockFree;  
   TRWLock(const TRWLock &);           
   TRWLock& operator=(const TRWLock&); 
public:
   TRWLock();
   virtual ~TRWLock() { }
   Int_t  ReadLock();
   Int_t  ReadUnLock();
   Int_t  WriteLock();
   Int_t  WriteUnLock();
   ClassDef(TRWLock,0)  
};
#endif
Last update: Thu Jan 17 09:02:32 2008
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.