Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TJoinHelper Class Reference

Definition at line 95 of file TThread.cxx.

Public Member Functions

 TJoinHelper (TThread *th, void **ret)
 Constructor of Thread helper class.
 
 ~TJoinHelper ()
 Destructor.
 
Int_t Join ()
 Thread join function.
 

Static Private Member Functions

static void * JoinFunc (void *p)
 Static method which runs in a separate thread to handle thread joins without blocking the main thread.
 

Private Attributes

TConditionfC
 
TThreadfH
 
Bool_t fJoined
 
TMutexfM
 
Long_t fRc
 
void ** fRet
 
TThreadfT
 

Constructor & Destructor Documentation

◆ TJoinHelper()

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

Constructor of Thread helper class.

Definition at line 117 of file TThread.cxx.

◆ ~TJoinHelper()

TJoinHelper::~TJoinHelper ( )

Destructor.

Definition at line 126 of file TThread.cxx.

Member Function Documentation

◆ Join()

Int_t TJoinHelper::Join ( )

Thread join function.

Definition at line 157 of file TThread.cxx.

◆ JoinFunc()

void * TJoinHelper::JoinFunc ( void *  p)
staticprivate

Static method which runs in a separate thread to handle thread joins without blocking the main thread.

Return a value (zero) so that it makes a joinable thread.

Definition at line 138 of file TThread.cxx.

Member Data Documentation

◆ fC

TCondition* TJoinHelper::fC
private

Definition at line 102 of file TThread.cxx.

◆ fH

TThread* TJoinHelper::fH
private

Definition at line 98 of file TThread.cxx.

◆ fJoined

Bool_t TJoinHelper::fJoined
private

Definition at line 103 of file TThread.cxx.

◆ fM

TMutex* TJoinHelper::fM
private

Definition at line 101 of file TThread.cxx.

◆ fRc

Long_t TJoinHelper::fRc
private

Definition at line 100 of file TThread.cxx.

◆ fRet

void** TJoinHelper::fRet
private

Definition at line 99 of file TThread.cxx.

◆ fT

TThread* TJoinHelper::fT
private

Definition at line 97 of file TThread.cxx.

  • core/thread/src/TThread.cxx