TJoinHelper Class Reference

List of all members.

Public Member Functions

 TJoinHelper (TThread *th, void **ret)
 ~TJoinHelper ()
Int_t Join ()

Static Private Member Functions

static void JoinFunc (void *p)

Private Attributes

TThreadfT
TThreadfH
void ** fRet
Long_t fRc
TMutexfM
TConditionfC

Detailed Description

Definition at line 63 of file TThread.cxx.


Constructor & Destructor Documentation

TJoinHelper::TJoinHelper ( TThread th,
void **  ret 
)

Definition at line 82 of file TThread.cxx.

References fH, and JoinFunc().

TJoinHelper::~TJoinHelper (  ) 

Definition at line 91 of file TThread.cxx.

References fC, fH, and fM.


Member Function Documentation

void TJoinHelper::JoinFunc ( void *  p  )  [static, private]

Definition at line 101 of file TThread.cxx.

References TThread::Exit(), fC, fM, fRc, fRet, fT, TThread::Join(), TMutex::Lock(), TCondition::Signal(), and TMutex::UnLock().

Referenced by TJoinHelper().

Int_t TJoinHelper::Join (  ) 

Definition at line 118 of file TThread.cxx.

References fC, fH, fM, fRc, gSystem, kTRUE, TMutex::Lock(), TSystem::ProcessEvents(), TThread::Run(), TCondition::TimedWaitRelative(), and TMutex::UnLock().

Referenced by TThread::Join().


Member Data Documentation

TThread* TJoinHelper::fT [private]

Definition at line 65 of file TThread.cxx.

Referenced by JoinFunc().

TThread* TJoinHelper::fH [private]

Definition at line 66 of file TThread.cxx.

Referenced by Join(), TJoinHelper(), and ~TJoinHelper().

void** TJoinHelper::fRet [private]

Definition at line 67 of file TThread.cxx.

Referenced by JoinFunc().

Long_t TJoinHelper::fRc [private]

Definition at line 68 of file TThread.cxx.

Referenced by Join(), and JoinFunc().

TMutex* TJoinHelper::fM [private]

Definition at line 69 of file TThread.cxx.

Referenced by Join(), JoinFunc(), and ~TJoinHelper().

TCondition* TJoinHelper::fC [private]

Definition at line 70 of file TThread.cxx.

Referenced by Join(), JoinFunc(), and ~TJoinHelper().


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