#include <TRWLock.h>
Inheritance diagram for TRWLock:

Public Member Functions | |
| TRWLock () | |
| virtual | ~TRWLock () |
| Int_t | ReadLock () |
| Int_t | ReadUnLock () |
| Int_t | WriteLock () |
| Int_t | WriteUnLock () |
| TRWLock () | |
| virtual | ~TRWLock () |
| Int_t | ReadLock () |
| Int_t | ReadUnLock () |
| Int_t | WriteLock () |
| Int_t | WriteUnLock () |
Private Member Functions | |
| TRWLock (const TRWLock &) | |
| TRWLock & | operator= (const TRWLock &) |
| TRWLock (const TRWLock &) | |
| TRWLock & | operator= (const TRWLock &) |
Private Attributes | |
| Int_t | fReaders |
| Int_t | fWriters |
| TMutex | fMutex |
| TCondition | fLockFree |
Definition at line 37 of file TRWLock.h.
| TRWLock::TRWLock | ( | const TRWLock & | ) | [private] |
| TRWLock::TRWLock | ( | ) |
| TRWLock::TRWLock | ( | const TRWLock & | ) | [private] |
| TRWLock::TRWLock | ( | ) |
| Int_t TRWLock::ReadLock | ( | ) |
Definition at line 36 of file TRWLock.cxx.
References fLockFree, fMutex, fReaders, fWriters, TMutex::Lock(), TMutex::UnLock(), and TCondition::Wait().
Referenced by G__G__Thread_170_0_4().
| Int_t TRWLock::ReadUnLock | ( | ) |
Definition at line 53 of file TRWLock.cxx.
References fLockFree, fMutex, fReaders, TMutex::Lock(), TCondition::Signal(), and TMutex::UnLock().
Referenced by G__G__Thread_170_0_5().
| Int_t TRWLock::WriteLock | ( | ) |
Definition at line 73 of file TRWLock.cxx.
References fLockFree, fMutex, fReaders, fWriters, TMutex::Lock(), TMutex::UnLock(), and TCondition::Wait().
Referenced by G__G__Thread_170_0_6().
| Int_t TRWLock::WriteUnLock | ( | ) |
Definition at line 90 of file TRWLock.cxx.
References TCondition::Broadcast(), fLockFree, fMutex, fWriters, TMutex::Lock(), and TMutex::UnLock().
Referenced by G__G__Thread_170_0_7().
| Int_t TRWLock::ReadLock | ( | ) |
| Int_t TRWLock::ReadUnLock | ( | ) |
| Int_t TRWLock::WriteLock | ( | ) |
| Int_t TRWLock::WriteUnLock | ( | ) |
Int_t TRWLock::fReaders [private] |
Int_t TRWLock::fWriters [private] |
TMutex TRWLock::fMutex [private] |
Definition at line 42 of file TRWLock.h.
Referenced by ReadLock(), ReadUnLock(), WriteLock(), and WriteUnLock().
TCondition TRWLock::fLockFree [private] |
Definition at line 43 of file TRWLock.h.
Referenced by ReadLock(), ReadUnLock(), WriteLock(), and WriteUnLock().
1.5.1