TThread Class Reference

#include <TThread.h>

Inheritance diagram for TThread:

TNamed TNamed TObject TObject TObject TObject List of all members.

Public Types

enum  EPriority
enum  EState
enum  EPriority
enum  EState
typedef void *(*) VoidRtnFunc_t (void *)
typedef void(*) VoidFunc_t (void *)
typedef void *(*) VoidRtnFunc_t (void *)
typedef void(*) VoidFunc_t (void *)

Public Member Functions

 TThread (VoidRtnFunc_t fn, void *arg=0, EPriority pri=kNormalPriority)
 TThread (VoidFunc_t fn, void *arg=0, EPriority pri=kNormalPriority)
 TThread (const char *thname, VoidRtnFunc_t fn, void *arg=0, EPriority pri=kNormalPriority)
 TThread (const char *thname, VoidFunc_t fn, void *arg=0, EPriority pri=kNormalPriority)
 TThread (Long_t id=0)
virtual ~TThread ()
Int_t Kill ()
Int_t Run (void *arg=0)
void SetPriority (EPriority pri)
void Delete (Option_t *option="")
EPriority GetPriority () const
EState GetState () const
Long_t GetId () const
Long_t Join (void **ret=0)
 TThread (VoidRtnFunc_t fn, void *arg=0, EPriority pri=kNormalPriority)
 TThread (VoidFunc_t fn, void *arg=0, EPriority pri=kNormalPriority)
 TThread (const char *thname, VoidRtnFunc_t fn, void *arg=0, EPriority pri=kNormalPriority)
 TThread (const char *thname, VoidFunc_t fn, void *arg=0, EPriority pri=kNormalPriority)
 TThread (Long_t id=0)
virtual ~TThread ()
Int_t Kill ()
Int_t Run (void *arg=0)
void SetPriority (EPriority pri)
void Delete (Option_t *option="")
EPriority GetPriority () const
EState GetState () const
Long_t GetId () const
Long_t Join (void **ret=0)

Static Public Member Functions

static void Ps ()
static void ps ()
static Bool_t IsInitialized ()
static Long_t Join (Long_t id, void **ret=0)
static Int_t Exit (void *ret=0)
static Int_t Exists ()
static TThread * GetThread (Long_t id)
static TThread * GetThread (const char *name)
static Int_t Lock ()
static Int_t TryLock ()
static Int_t UnLock ()
static TThread * Self ()
static Long_t SelfId ()
static Int_t Sleep (ULong_t secs, ULong_t nanos=0)
static Int_t GetTime (ULong_t *absSec, ULong_t *absNanoSec)
static Int_t Delete (TThread *&th)
static void ** Tsd (void *dflt, Int_t k)
static Int_t SetCancelOn ()
static Int_t SetCancelOff ()
static Int_t SetCancelAsynchronous ()
static Int_t SetCancelDeferred ()
static Int_t CancelPoint ()
static Int_t Kill (Long_t id)
static Int_t Kill (const char *name)
static Int_t CleanUpPush (void *free, void *arg=0)
static Int_t CleanUpPop (Int_t exe=0)
static Int_t CleanUp ()
static void Printf (const char *fmt,...)
static void XAction ()
static void Ps ()
static void ps ()
static Bool_t IsInitialized ()
static Long_t Join (Long_t id, void **ret=0)
static Int_t Exit (void *ret=0)
static Int_t Exists ()
static TThread * GetThread (Long_t id)
static TThread * GetThread (const char *name)
static Int_t Lock ()
static Int_t TryLock ()
static Int_t UnLock ()
static TThread * Self ()
static Long_t SelfId ()
static Int_t Sleep (ULong_t secs, ULong_t nanos=0)
static Int_t GetTime (ULong_t *absSec, ULong_t *absNanoSec)
static Int_t Delete (TThread *&th)
static void ** Tsd (void *dflt, Int_t k)
static Int_t SetCancelOn ()
static Int_t SetCancelOff ()
static Int_t SetCancelAsynchronous ()
static Int_t SetCancelDeferred ()
static Int_t CancelPoint ()
static Int_t Kill (Long_t id)
static Int_t Kill (const char *name)
static Int_t CleanUpPush (void *free, void *arg=0)
static Int_t CleanUpPop (Int_t exe=0)
static Int_t CleanUp ()
static void Printf (const char *fmt,...)
static void XAction ()

Private Member Functions

void Constructor ()
void SetComment (const char *txt=0)
void DoError (Int_t level, const char *location, const char *fmt, va_list va) const
void ErrorHandler (int level, const char *location, const char *fmt, va_list ap) const
 TThread (const TThread &)
TThread & operator= (const TThread &)
void Constructor ()
void SetComment (const char *txt=0)
void DoError (Int_t level, const char *location, const char *fmt, va_list va) const
void ErrorHandler (int level, const char *location, const char *fmt, va_list ap) const
 TThread (const TThread &)
TThread & operator= (const TThread &)

Static Private Member Functions

static void Init ()
static void * Function (void *ptr)
static Int_t XARequest (const char *xact, Int_t nb, void **ar, Int_t *iret)
static void AfterCancel (TThread *th)
static void Init ()
static void * Function (void *ptr)
static Int_t XARequest (const char *xact, Int_t nb, void **ar, Int_t *iret)
static void AfterCancel (TThread *th)

Private Attributes

TThread * fNext
TThread * fPrev
TThread ** fHolder
EPriority fPriority
EState fState
EState fStateComing
Long_t fId
Long_t fHandle
Bool_t fDetached
Bool_t fNamed
VoidRtnFunc_t fFcnRetn
VoidFunc_t fFcnVoid
void * fThreadArg
void * fClean
void * fTsd [20]
char fComment [100]
TThread * fNext
TThread * fPrev
TThread ** fHolder
void * fThreadArg
void * fClean
void * fTsd [20]

Static Private Attributes

static TThreadImp * fgThreadImp
static char *volatile fgXAct
static void **volatile fgXArr
static volatile Int_t fgXAnb
static volatile Int_t fgXArt
static Long_t fgMainId
static TThread * fgMain
static TMutex * fgMainMutex
static TMutex * fgXActMutex
static TCondition * fgXActCondi
static TThreadImp * fgThreadImp
static char *volatile fgXAct
static void **volatile fgXArr
static TThread * fgMain
static TMutex * fgMainMutex
static TMutex * fgXActMutex
static TCondition * fgXActCondi

Friends

class TThreadImp
class TPosixThread
class TThreadTimer
class TThreadCleaner
class TWin32Thread

Detailed Description

Definition at line 49 of file TThread.h.


Member Typedef Documentation

typedef void*(*) TThread::VoidRtnFunc_t(void *)

Definition at line 59 of file TThread.h.

typedef void(*) TThread::VoidFunc_t(void *)

Definition at line 60 of file TThread.h.

typedef void*(*) TThread::VoidRtnFunc_t(void *)

Definition at line 59 of file TThread.h.

typedef void(*) TThread::VoidFunc_t(void *)

Definition at line 60 of file TThread.h.


Member Enumeration Documentation

enum TThread::EPriority

Definition at line 62 of file TThread.h.

enum TThread::EState

Definition at line 68 of file TThread.h.

enum TThread::EPriority

Definition at line 62 of file TThread.h.

enum TThread::EState

Definition at line 68 of file TThread.h.


Constructor & Destructor Documentation

TThread::TThread ( const TThread &   )  [private]

TThread::TThread ( VoidRtnFunc_t  fn,
void *  arg = 0,
EPriority  pri = kNormalPriority 
)

TThread::TThread ( VoidFunc_t  fn,
void *  arg = 0,
EPriority  pri = kNormalPriority 
)

Definition at line 162 of file TThread.cxx.

References Constructor(), fDetached, fFcnRetn, fFcnVoid, fNamed, fPriority, fThreadArg, kFALSE, and kTRUE.

TThread::TThread ( const char *  thname,
VoidRtnFunc_t  fn,
void *  arg = 0,
EPriority  pri = kNormalPriority 
)

Definition at line 179 of file TThread.cxx.

References Constructor(), fDetached, fFcnRetn, fFcnVoid, fNamed, fPriority, fThreadArg, kFALSE, and kTRUE.

TThread::TThread ( const char *  thname,
VoidFunc_t  fn,
void *  arg = 0,
EPriority  pri = kNormalPriority 
)

Definition at line 196 of file TThread.cxx.

References Constructor(), fDetached, fFcnRetn, fFcnVoid, fNamed, fPriority, fThreadArg, and kTRUE.

TThread::TThread ( Long_t  id = 0  ) 

Definition at line 213 of file TThread.cxx.

References Constructor(), fDetached, fFcnRetn, fFcnVoid, fId, fNamed, fPriority, fState, fThreadArg, gDebug, TObject::Info(), kFALSE, kNormalPriority, kRunningState, kTRUE, and SelfId().

TThread::~TThread (  )  [virtual]

Definition at line 289 of file TThread.cxx.

References fgMain, fHolder, fNext, fPrev, gDebug, TObject::Info(), Lock(), SetComment(), and UnLock().

TThread::TThread ( const TThread &   )  [private]

TThread::TThread ( VoidRtnFunc_t  fn,
void *  arg = 0,
EPriority  pri = kNormalPriority 
)

TThread::TThread ( VoidFunc_t  fn,
void *  arg = 0,
EPriority  pri = kNormalPriority 
)

TThread::TThread ( const char *  thname,
VoidRtnFunc_t  fn,
void *  arg = 0,
EPriority  pri = kNormalPriority 
)

TThread::TThread ( const char *  thname,
VoidFunc_t  fn,
void *  arg = 0,
EPriority  pri = kNormalPriority 
)

TThread::TThread ( Long_t  id = 0  ) 

virtual TThread::~TThread (  )  [virtual]


Member Function Documentation

void TThread::Constructor (  )  [private]

Definition at line 261 of file TThread.cxx.

References fClean, fgMain, fgThreadImp, fHandle, fHolder, fId, fNext, fPrev, fState, fTsd, gPad, Init(), kNewState, Lock(), SetComment(), and UnLock().

Referenced by TThread().

void TThread::SetComment ( const char *  txt = 0  )  [inline, private]

Definition at line 111 of file TThread.h.

References fComment.

Referenced by Constructor(), Run(), XARequest(), and ~TThread().

void TThread::DoError ( Int_t  level,
const char *  location,
const char *  fmt,
va_list  va 
) const [private, virtual]

Reimplemented from TObject.

Definition at line 856 of file TThread.cxx.

References ErrorHandler(), fId, TNamed::GetName(), and sprintf().

void TThread::ErrorHandler ( int  level,
const char *  location,
const char *  fmt,
va_list  ap 
) const [private]

Definition at line 813 of file TThread.cxx.

References gErrorAbortLevel, TSystem::GetError(), GetErrorHandler(), gSystem, kFatal, kSysError, kTRUE, sprintf(), and XARequest().

Referenced by DoError().

void TThread::Init (  )  [static, private]

Definition at line 242 of file TThread.cxx.

References CINT_alloc_lock(), CINT_alloc_unlock(), TThreadFactory::CreateThreadImp(), fgMainId, fgMainMutex, fgThreadImp, gCint, gGlobalMutex, gThreadFactory, gThreadTsd, gThreadXAR, kTRUE, TThreadImp::SelfId(), TInterpreter::SetAlloclockfunc(), TInterpreter::SetAllocunlockfunc(), Tsd(), and XARequest().

Referenced by Constructor(), and SelfId().

void * TThread::Function ( void *  ptr  )  [static, private]

Definition at line 669 of file TThread.cxx.

References AfterCancel(), CleanUpPop(), CleanUpPush(), dummy, Exit(), fDetached, fFcnRetn, fFcnVoid, fState, fThreadArg, gDebug, TObject::Info(), kFinishedState, kRunningState, kTerminatedState, SetCancelDeferred(), and SetCancelOff().

Referenced by ClassImp().

Int_t TThread::XARequest ( const char *  xact,
Int_t  nb,
void **  ar,
Int_t *  iret 
) [static, private]

Definition at line 879 of file TThread.cxx.

References TCondition::fConditionImp, fgMainId, fgXAct, fgXActCondi, fgXActMutex, fgXAnb, fgXArr, fgXArt, fId, TMutex::fMutexImp, gApplication, TCondition::GetMutex(), gGlobalMutex, TApplication::IsRunning(), kTRUE, TMutex::Lock(), TVirtualMutex::Lock(), TMutexImp::Lock(), Self(), SetComment(), TMutexImp::UnLock(), TMutex::UnLock(), TVirtualMutex::UnLock(), and TConditionImp::Wait().

Referenced by ErrorHandler(), and Init().

void TThread::AfterCancel ( TThread *  th  )  [static, private]

Definition at line 602 of file TThread.cxx.

References Error, fState, gDebug, TObject::Info(), and kCanceledState.

Referenced by Function().

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

Int_t TThread::Kill (  ) 

Definition at line 474 of file TThread.cxx.

References fgThreadImp, fState, gDebug, kCancelingState, kDeletingState, TThreadImp::Kill(), kRunningState, and TObject::Warning().

Referenced by Delete(), G__G__Thread_102_0_44(), G__G__Thread_102_0_45(), G__setup_memfuncTThread(), and main().

Int_t TThread::Run ( void *  arg = 0  ) 

Definition at line 449 of file TThread.cxx.

References fgThreadImp, fState, fThreadArg, gDebug, TObject::Info(), kInvalidState, kRunningState, Lock(), TThreadImp::Run(), SetComment(), and UnLock().

Referenced by TJoinHelper::Join(), main(), THtml::MakeAll(), TTreeCacheUnzip::StartThreadUnzip(), threads(), and threadsh2().

void TThread::SetPriority ( EPriority  pri  ) 

Definition at line 351 of file TThread.cxx.

References fPriority.

void TThread::Delete ( Option_t *  option = ""  )  [inline, virtual]

Reimplemented from TObject.

Definition at line 134 of file TThread.h.

References TObject::Delete(), and option.

Referenced by G__G__Thread_102_0_37(), and G__setup_memfuncTThread().

EPriority TThread::GetPriority (  )  const [inline]

Definition at line 135 of file TThread.h.

References fPriority.

EState TThread::GetState (  )  const [inline]

Definition at line 136 of file TThread.h.

References fState.

Referenced by THtml::MakeAll().

Long_t TThread::GetId (  )  const [inline]

Definition at line 137 of file TThread.h.

References fId.

void TThread::Ps (  )  [static]

Definition at line 716 of file TThread.cxx.

References fgMain, i, TObject::Info(), kCanceledState, kCancelingState, kDeletingState, kFinishedState, kNewState, kRunningState, kTerminatedState, l, Lock(), num, snprintf, and UnLock().

Referenced by G__G__Thread_102_0_21(), G__setup_memfuncTThread(), ps(), threads(), threadsh1(), threadsh2(), and top().

static void TThread::ps (  )  [inline, static]

Definition at line 139 of file TThread.h.

References Ps().

Referenced by G__G__Thread_102_0_22(), and G__setup_memfuncTThread().

Bool_t TThread::IsInitialized (  )  [static]

Definition at line 232 of file TThread.cxx.

References fgThreadImp, kFALSE, and kTRUE.

Referenced by G__G__Thread_102_0_23(), and G__setup_memfuncTThread().

Long_t TThread::Join ( void **  ret = 0  ) 

Definition at line 400 of file TThread.cxx.

References TObject::Error(), fDetached, fgMainId, fgThreadImp, fId, TThreadImp::Join(), TJoinHelper::Join(), and SelfId().

Referenced by G__G__Thread_102_0_25(), G__setup_memfuncTThread(), Join(), joiner(), TJoinHelper::JoinFunc(), THtml::MakeAll(), threads(), and threadsh2().

Long_t TThread::Join ( Long_t  id,
void **  ret = 0 
) [static]

Definition at line 424 of file TThread.cxx.

References TObject::Error(), GetThread(), Join(), and RooFitShortHand::L().

Int_t TThread::Exit ( void *  ret = 0  )  [static]

Definition at line 615 of file TThread.cxx.

References TThreadImp::Exit(), and fgThreadImp.

Referenced by Function(), G__G__Thread_102_0_26(), G__setup_memfuncTThread(), and TJoinHelper::JoinFunc().

Int_t TThread::Exists (  )  [static]

Definition at line 334 of file TThread.cxx.

References fgMain, l, Lock(), num, and UnLock().

Referenced by G__G__Thread_102_0_27(), and G__setup_memfuncTThread().

TThread * TThread::GetThread ( Long_t  id  )  [static]

Definition at line 359 of file TThread.cxx.

References fgMain, fId, fNext, Lock(), and UnLock().

Referenced by G__G__Thread_102_0_28(), G__G__Thread_102_0_29(), G__setup_memfuncTThread(), Join(), Kill(), and Self().

TThread * TThread::GetThread ( const char *  name  )  [static]

Definition at line 375 of file TThread.cxx.

References fgMain, fNext, TNamed::GetName(), Lock(), and UnLock().

Int_t TThread::Lock (  )  [static]

Definition at line 645 of file TThread.cxx.

References fgMainMutex, and TMutex::Lock().

Referenced by Constructor(), Exists(), G__G__Thread_102_0_30(), G__setup_memfuncTThread(), GetThread(), handle(), handle1(), handle2(), mhs(), mhs1(), mhs2(), Ps(), Run(), and ~TThread().

Int_t TThread::TryLock (  )  [static]

Definition at line 653 of file TThread.cxx.

References fgMainMutex, and TMutex::TryLock().

Referenced by G__G__Thread_102_0_31(), and G__setup_memfuncTThread().

Int_t TThread::UnLock (  )  [static]

Definition at line 661 of file TThread.cxx.

References fgMainMutex, and TMutex::UnLock().

Referenced by Constructor(), Exists(), G__G__Thread_102_0_32(), G__setup_memfuncTThread(), GetThread(), handle(), handle1(), handle2(), mhs(), mhs1(), mhs2(), Ps(), Run(), and ~TThread().

TThread * TThread::Self (  )  [static]

Definition at line 391 of file TThread.cxx.

References GetThread(), and SelfId().

Referenced by CleanUp(), CleanUpPop(), CleanUpPush(), G__G__Thread_102_0_33(), G__setup_memfuncTThread(), Tsd(), and XARequest().

Long_t TThread::SelfId (  )  [static]

Definition at line 439 of file TThread.cxx.

References fgThreadImp, Init(), and TThreadImp::SelfId().

Referenced by G__G__Thread_102_0_34(), G__setup_memfuncTThread(), Join(), TSemaphore::Post(), TTreeCacheUnzip::ResetCache(), Self(), TSemaphore::TryWait(), TThread(), and TSemaphore::Wait().

Int_t TThread::Sleep ( ULong_t  secs,
ULong_t  nanos = 0 
) [static]

Definition at line 623 of file TThread.cxx.

References gSystem, and TSystem::Sleep().

Referenced by G__G__Thread_102_0_35(), G__setup_memfuncTThread(), mhs(), mhs1(), mhs2(), and top().

Int_t TThread::GetTime ( ULong_t *  absSec,
ULong_t *  absNanoSec 
) [static]

Definition at line 633 of file TThread.cxx.

References t.

Referenced by G__G__Thread_102_0_36(), G__setup_memfuncTThread(), and TCondition::TimedWaitRelative().

Int_t TThread::Delete ( TThread *&  th  )  [static]

Definition at line 312 of file TThread.cxx.

References CleanUp(), fHolder, fState, gDebug, TObject::Info(), kDeletingState, Kill(), and kRunningState.

void ** TThread::Tsd ( void *  dflt,
Int_t  k 
) [static]

Definition at line 763 of file TThread.cxx.

References fTsd, and Self().

Referenced by G__G__Thread_102_0_38(), G__setup_memfuncTThread(), and Init().

Int_t TThread::SetCancelOn (  )  [static]

Definition at line 527 of file TThread.cxx.

References fgThreadImp, and TThreadImp::SetCancelOn().

Referenced by G__G__Thread_102_0_39(), G__setup_memfuncTThread(), and TTreeCacheUnzip::UnzipLoop().

Int_t TThread::SetCancelOff (  )  [static]

Definition at line 519 of file TThread.cxx.

References fgThreadImp, and TThreadImp::SetCancelOff().

Referenced by Function(), G__G__Thread_102_0_40(), and G__setup_memfuncTThread().

Int_t TThread::SetCancelAsynchronous (  )  [static]

Definition at line 535 of file TThread.cxx.

References fgThreadImp, and TThreadImp::SetCancelAsynchronous().

Referenced by G__G__Thread_102_0_41(), G__setup_memfuncTThread(), and main().

Int_t TThread::SetCancelDeferred (  )  [static]

Definition at line 543 of file TThread.cxx.

References fgThreadImp, and TThreadImp::SetCancelDeferred().

Referenced by Function(), G__G__Thread_102_0_42(), G__setup_memfuncTThread(), and TTreeCacheUnzip::UnzipLoop().

Int_t TThread::CancelPoint (  )  [static]

Definition at line 551 of file TThread.cxx.

References TThreadImp::CancelPoint(), and fgThreadImp.

Referenced by G__G__Thread_102_0_43(), and G__setup_memfuncTThread().

Int_t TThread::Kill ( Long_t  id  )  [static]

Definition at line 489 of file TThread.cxx.

References fgThreadImp, gDebug, GetThread(), TThreadImp::Kill(), and TObject::Warning().

Int_t TThread::Kill ( const char *  name  )  [static]

Definition at line 504 of file TThread.cxx.

References fgThreadImp, gDebug, GetThread(), TThreadImp::Kill(), and TObject::Warning().

Int_t TThread::CleanUpPush ( void *  free,
void *  arg = 0 
) [static]

Definition at line 559 of file TThread.cxx.

References TThreadImp::CleanUpPush(), fClean, fgThreadImp, and Self().

Referenced by Function(), G__G__Thread_102_0_46(), and G__setup_memfuncTThread().

Int_t TThread::CleanUpPop ( Int_t  exe = 0  )  [static]

Definition at line 571 of file TThread.cxx.

References TThreadImp::CleanUpPop(), fClean, fgThreadImp, and Self().

Referenced by Function(), G__G__Thread_102_0_47(), and G__setup_memfuncTThread().

Int_t TThread::CleanUp (  )  [static]

Definition at line 583 of file TThread.cxx.

References TThreadImp::CleanUp(), TMutex::CleanUp(), fClean, fgMainMutex, fgThreadImp, fgXActMutex, fHolder, and Self().

Referenced by Delete(), G__G__Thread_102_0_48(), G__setup_memfuncTThread(), and TThreadCleaner::~TThreadCleaner().

static void TThread::Printf ( const char *  fmt,
  ... 
) [static]

Referenced by G__G__Thread_102_0_49(), G__setup_memfuncTThread(), handle(), mhs(), mhs1(), mhs2(), and top().

void TThread::XAction (  )  [static]

Definition at line 927 of file TThread.cxx.

References TObject::Error(), TCondition::fConditionImp, fflush(), fgXAct, fgXActCondi, fgXAnb, fgXArr, TMutex::fMutexImp, Form(), gErrorAbortLevel, GetErrorHandler(), TCondition::GetMutex(), gROOT, int, kFatal, kTRUE, level, location, TMutexImp::Lock(), TROOT::ProcessLine(), TConditionImp::Signal(), and TMutexImp::UnLock().

Referenced by G__G__Thread_102_0_50(), G__setup_memfuncTThread(), and TThreadTimer::Notify().

void TThread::Constructor (  )  [private]

void TThread::SetComment ( const char *  txt = 0  )  [inline, private]

Definition at line 111 of file TThread.h.

References fComment.

void TThread::DoError ( Int_t  level,
const char *  location,
const char *  fmt,
va_list  va 
) const [private, virtual]

Reimplemented from TObject.

void TThread::ErrorHandler ( int  level,
const char *  location,
const char *  fmt,
va_list  ap 
) const [private]

static void TThread::Init (  )  [static, private]

static void* TThread::Function ( void *  ptr  )  [static, private]

static Int_t TThread::XARequest ( const char *  xact,
Int_t  nb,
void **  ar,
Int_t *  iret 
) [static, private]

static void TThread::AfterCancel ( TThread *  th  )  [static, private]

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

Int_t TThread::Kill (  ) 

Int_t TThread::Run ( void *  arg = 0  ) 

void TThread::SetPriority ( EPriority  pri  ) 

void TThread::Delete ( Option_t *  option = ""  )  [inline, virtual]

Reimplemented from TObject.

Definition at line 134 of file TThread.h.

References TObject::Delete(), and option.

EPriority TThread::GetPriority (  )  const [inline]

Definition at line 135 of file TThread.h.

References fPriority.

EState TThread::GetState (  )  const [inline]

Definition at line 136 of file TThread.h.

References fState.

Long_t TThread::GetId (  )  const [inline]

Definition at line 137 of file TThread.h.

References fId.

static void TThread::Ps (  )  [static]

static void TThread::ps (  )  [inline, static]

Definition at line 139 of file TThread.h.

References Ps().

static Bool_t TThread::IsInitialized (  )  [static]

Long_t TThread::Join ( void **  ret = 0  ) 

static Long_t TThread::Join ( Long_t  id,
void **  ret = 0 
) [static]

static Int_t TThread::Exit ( void *  ret = 0  )  [static]

static Int_t TThread::Exists (  )  [static]

static TThread* TThread::GetThread ( Long_t  id  )  [static]

static TThread* TThread::GetThread ( const char *  name  )  [static]

static Int_t TThread::Lock (  )  [static]

static Int_t TThread::TryLock (  )  [static]

static Int_t TThread::UnLock (  )  [static]

static TThread* TThread::Self (  )  [static]

static Long_t TThread::SelfId (  )  [static]

static Int_t TThread::Sleep ( ULong_t  secs,
ULong_t  nanos = 0 
) [static]

static Int_t TThread::GetTime ( ULong_t *  absSec,
ULong_t *  absNanoSec 
) [static]

static Int_t TThread::Delete ( TThread *&  th  )  [static]

static void** TThread::Tsd ( void *  dflt,
Int_t  k 
) [static]

static Int_t TThread::SetCancelOn (  )  [static]

static Int_t TThread::SetCancelOff (  )  [static]

static Int_t TThread::SetCancelAsynchronous (  )  [static]

static Int_t TThread::SetCancelDeferred (  )  [static]

static Int_t TThread::CancelPoint (  )  [static]

static Int_t TThread::Kill ( Long_t  id  )  [static]

static Int_t TThread::Kill ( const char *  name  )  [static]

static Int_t TThread::CleanUpPush ( void *  free,
void *  arg = 0 
) [static]

static Int_t TThread::CleanUpPop ( Int_t  exe = 0  )  [static]

static Int_t TThread::CleanUp (  )  [static]

static void TThread::Printf ( const char *  fmt,
  ... 
) [static]

static void TThread::XAction (  )  [static]


Friends And Related Function Documentation

TThreadImp [friend]

Definition at line 51 of file TThread.h.

TPosixThread [friend]

Definition at line 52 of file TThread.h.

TThreadTimer [friend]

Definition at line 53 of file TThread.h.

TThreadCleaner [friend]

Definition at line 54 of file TThread.h.

TWin32Thread [friend]

Definition at line 55 of file TThread.h.


Member Data Documentation

TThread* TThread::fNext [private]

Definition at line 81 of file TThread.h.

Referenced by Constructor(), GetThread(), and ~TThread().

TThread* TThread::fPrev [private]

Definition at line 82 of file TThread.h.

Referenced by Constructor(), and ~TThread().

TThread** TThread::fHolder [private]

Definition at line 83 of file TThread.h.

Referenced by CleanUp(), Constructor(), Delete(), and ~TThread().

EPriority TThread::fPriority [private]

Definition at line 84 of file TThread.h.

Referenced by GetPriority(), SetPriority(), and TThread().

EState TThread::fState [private]

Definition at line 85 of file TThread.h.

Referenced by AfterCancel(), Constructor(), Delete(), Function(), GetState(), TWin32Thread::Kill(), Kill(), Run(), and TThread().

EState TThread::fStateComing [private]

Definition at line 86 of file TThread.h.

Long_t TThread::fId [private]

Definition at line 87 of file TThread.h.

Referenced by Constructor(), DoError(), GetId(), GetThread(), Join(), TPosixThread::Join(), TPosixThread::Kill(), TThread(), and XARequest().

Long_t TThread::fHandle [private]

Definition at line 88 of file TThread.h.

Referenced by Constructor(), TWin32Thread::Join(), and TWin32Thread::Kill().

Bool_t TThread::fDetached [private]

Definition at line 89 of file TThread.h.

Referenced by Function(), Join(), and TThread().

Bool_t TThread::fNamed [private]

Definition at line 90 of file TThread.h.

Referenced by TThread().

VoidRtnFunc_t TThread::fFcnRetn [private]

Definition at line 91 of file TThread.h.

Referenced by Function(), and TThread().

VoidFunc_t TThread::fFcnVoid [private]

Definition at line 92 of file TThread.h.

Referenced by Function(), and TThread().

void* TThread::fThreadArg [private]

Definition at line 93 of file TThread.h.

Referenced by Function(), Run(), and TThread().

void* TThread::fClean [private]

Definition at line 94 of file TThread.h.

Referenced by CleanUp(), CleanUpPop(), CleanUpPush(), and Constructor().

void* TThread::fTsd[20] [private]

Definition at line 95 of file TThread.h.

Referenced by Constructor(), and Tsd().

char TThread::fComment [private]

Definition at line 96 of file TThread.h.

Referenced by SetComment().

TThreadImp * TThread::fgThreadImp [static, private]

Definition at line 98 of file TThread.h.

Referenced by CancelPoint(), CleanUp(), CleanUpPop(), CleanUpPush(), Constructor(), Exit(), Init(), IsInitialized(), Join(), Kill(), Run(), SelfId(), SetCancelAsynchronous(), SetCancelDeferred(), SetCancelOff(), and SetCancelOn().

char *volatile TThread::fgXAct [static, private]

Definition at line 99 of file TThread.h.

Referenced by TThreadTimer::Notify(), XAction(), and XARequest().

void **volatile TThread::fgXArr [static, private]

Definition at line 100 of file TThread.h.

Referenced by XAction(), and XARequest().

static volatile Int_t TThread::fgXAnb [static, private]

Definition at line 101 of file TThread.h.

Referenced by XAction(), and XARequest().

static volatile Int_t TThread::fgXArt [static, private]

Definition at line 102 of file TThread.h.

Referenced by XARequest().

static Long_t TThread::fgMainId [static, private]

Definition at line 103 of file TThread.h.

Referenced by Init(), Join(), and XARequest().

TThread * TThread::fgMain [static, private]

Definition at line 104 of file TThread.h.

Referenced by Constructor(), Exists(), GetThread(), Ps(), and ~TThread().

TMutex * TThread::fgMainMutex [static, private]

Definition at line 105 of file TThread.h.

Referenced by CleanUp(), Init(), Lock(), TryLock(), and UnLock().

TMutex * TThread::fgXActMutex [static, private]

Definition at line 106 of file TThread.h.

Referenced by CleanUp(), and XARequest().

TCondition * TThread::fgXActCondi [static, private]

Definition at line 107 of file TThread.h.

Referenced by XAction(), and XARequest().

TThread* TThread::fNext [private]

Definition at line 81 of file TThread.h.

TThread* TThread::fPrev [private]

Definition at line 82 of file TThread.h.

TThread** TThread::fHolder [private]

Definition at line 83 of file TThread.h.

void* TThread::fThreadArg [private]

Definition at line 93 of file TThread.h.

void* TThread::fClean [private]

Definition at line 94 of file TThread.h.

void* TThread::fTsd[20] [private]

Definition at line 95 of file TThread.h.

TThreadImp* TThread::fgThreadImp [static, private]

Definition at line 98 of file TThread.h.

char* volatile TThread::fgXAct [static, private]

Definition at line 99 of file TThread.h.

void** volatile TThread::fgXArr [static, private]

Definition at line 100 of file TThread.h.

TThread* TThread::fgMain [static, private]

Definition at line 104 of file TThread.h.

TMutex* TThread::fgMainMutex [static, private]

Definition at line 105 of file TThread.h.

TMutex* TThread::fgXActMutex [static, private]

Definition at line 106 of file TThread.h.

TCondition* TThread::fgXActCondi [static, private]

Definition at line 107 of file TThread.h.


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