TCondition Class Reference

#include <TCondition.h>

Inheritance diagram for TCondition:

TObject TObject List of all members.

Public Member Functions

 TCondition (TMutex *m=0)
virtual ~TCondition ()
TMutexGetMutex () const
Int_t Wait ()
Int_t TimedWait (ULong_t secs, ULong_t nanoSecs)
Int_t TimedWaitRelative (ULong_t ms)
Int_t Signal ()
Int_t Broadcast ()
 TCondition (TMutex *m=0)
virtual ~TCondition ()
TMutexGetMutex () const
Int_t Wait ()
Int_t TimedWait (ULong_t secs, ULong_t nanoSecs)
Int_t TimedWaitRelative (ULong_t ms)
Int_t Signal ()
Int_t Broadcast ()

Private Member Functions

 TCondition (const TCondition &)
TConditionoperator= (const TCondition &)
 TCondition (const TCondition &)
TConditionoperator= (const TCondition &)

Private Attributes

TConditionImpfConditionImp
TMutexfMutex
Bool_t fPrivateMutex
TConditionImpfConditionImp
TMutexfMutex

Friends

class TThread

Detailed Description

Definition at line 36 of file TCondition.h.


Constructor & Destructor Documentation

TCondition::TCondition ( const TCondition  )  [private]

TCondition::TCondition ( TMutex m = 0  ) 

TCondition::~TCondition (  )  [virtual]

Definition at line 51 of file TCondition.cxx.

References fConditionImp, fMutex, and fPrivateMutex.

TCondition::TCondition ( const TCondition  )  [private]

TCondition::TCondition ( TMutex m = 0  ) 

virtual TCondition::~TCondition (  )  [virtual]


Member Function Documentation

TCondition& TCondition::operator= ( const TCondition  )  [private]

TMutex * TCondition::GetMutex (  )  const

Definition at line 60 of file TCondition.cxx.

References fMutex, and fPrivateMutex.

Referenced by TThread::XAction(), and TThread::XARequest().

Int_t TCondition::Wait (  ) 

Definition at line 72 of file TCondition.cxx.

References fConditionImp, fMutex, fPrivateMutex, TMutex::Lock(), TMutex::UnLock(), and TConditionImp::Wait().

Referenced by TRWLock::ReadLock(), TSemaphore::Wait(), and TRWLock::WriteLock().

Int_t TCondition::TimedWait ( ULong_t  secs,
ULong_t  nanoSecs 
)

Definition at line 86 of file TCondition.cxx.

References fConditionImp, fMutex, fPrivateMutex, TMutex::Lock(), TConditionImp::TimedWait(), and TMutex::UnLock().

Referenced by TimedWaitRelative().

Int_t TCondition::TimedWaitRelative ( ULong_t  ms  ) 

Definition at line 106 of file TCondition.cxx.

References fConditionImp, TThread::GetTime(), and TimedWait().

Referenced by TTreeCacheUnzip::GetUnzipBuffer(), TJoinHelper::Join(), TSemaphore::Wait(), and TTreeCacheUnzip::WaitUnzipStartSignal().

Int_t TCondition::Signal (  )  [inline]

Definition at line 57 of file TCondition.h.

References fConditionImp, and TConditionImp::Signal().

Referenced by TJoinHelper::JoinFunc(), TSemaphore::Post(), TRWLock::ReadUnLock(), TTreeCacheUnzip::SendUnzipStartSignal(), and TTreeCacheUnzip::UnzipCache().

Int_t TCondition::Broadcast (  )  [inline]

Definition at line 58 of file TCondition.h.

References TConditionImp::Broadcast(), and fConditionImp.

Referenced by TTreeCacheUnzip::SendUnzipStartSignal(), and TRWLock::WriteUnLock().

TCondition& TCondition::operator= ( const TCondition  )  [private]

TMutex* TCondition::GetMutex (  )  const

Int_t TCondition::Wait (  ) 

Int_t TCondition::TimedWait ( ULong_t  secs,
ULong_t  nanoSecs 
)

Int_t TCondition::TimedWaitRelative ( ULong_t  ms  ) 

Int_t TCondition::Signal (  )  [inline]

Definition at line 57 of file TCondition.h.

References fConditionImp, and TConditionImp::Signal().

Int_t TCondition::Broadcast (  )  [inline]

Definition at line 58 of file TCondition.h.

References TConditionImp::Broadcast(), and fConditionImp.


Friends And Related Function Documentation

TThread [friend]

Definition at line 38 of file TCondition.h.


Member Data Documentation

TConditionImp* TCondition::fConditionImp [private]

Definition at line 41 of file TCondition.h.

Referenced by Broadcast(), Signal(), TimedWait(), TimedWaitRelative(), Wait(), TThread::XAction(), TThread::XARequest(), and ~TCondition().

TMutex* TCondition::fMutex [private]

Definition at line 42 of file TCondition.h.

Referenced by GetMutex(), TimedWait(), Wait(), and ~TCondition().

Bool_t TCondition::fPrivateMutex [private]

Definition at line 43 of file TCondition.h.

Referenced by GetMutex(), TimedWait(), Wait(), and ~TCondition().

TConditionImp* TCondition::fConditionImp [private]

Definition at line 41 of file TCondition.h.

TMutex* TCondition::fMutex [private]

Definition at line 42 of file TCondition.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:35:51 2011 for ROOT_528-00b_version by  doxygen 1.5.1