GThread
class description - source file - inheritance tree (.ps)
private:
static void cleanup_tsd()
static ZMirEmittingEntity* get_owner()
static SaturnInfo* get_return_address()
static UInt_t get_return_handle()
static GThread* get_self()
static void init_tsd()
static void set_owner(ZMirEmittingEntity* owner)
static void set_return_address(SaturnInfo* ra)
static void set_return_handle(UInt_t)
static void setup_tsd(ZMirEmittingEntity* owner)
static GThread* wrap_and_register_self(ZMirEmittingEntity* owner)
public:
GThread(GThread_foo f, void* a = 0, bool d = false)
GThread(const GThread&)
virtual ~GThread()
int Cancel()
static TClass* Class()
static void DeleteIfDetached()
int Detach()
static void Exit(void* ret = 0)
void* GetArg() const
bool GetDetached() const
void* GetEndArg() const
GThread_cu_foo GetEndFoo() const
pthread_t GetId() const
bool GetRunning() const
GThread_foo GetStartFoo() const
virtual TClass* IsA() const
int Join(void** tret = 0)
int Kill(GThread::Signal signal = SigSTOP)
GThread& operator=(const GThread&)
static unsigned long RawSelf()
static GThread* Self()
void SetArg(void* arg)
static void SetCancelState(GThread::CState s)
static void SetCancelType(GThread::CType t)
void SetEndArg(void* endarg)
void SetEndFoo(GThread_cu_foo endfoo)
void SetStartFoo(GThread_foo startfoo)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
int Spawn()
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
static void TestCancel()
private:
static map<pthread_t,GThread*> sIdMap
static GMutex sIDLock
pthread_t mId X{G}
GThread_foo mStartFoo X{Gs}
void* mArg X{Gs}
GThread_cu_foo mEndFoo X{Gs}
void* mEndArg X{Gs}
bool bRunning X{G}
bool bDetached X{G}
static unsigned int TSD_Self
static unsigned int TSD_Owner
static unsigned int TSD_ReturnAddress
static unsigned int TSD_ReturnHandle
public:
static const GThread::CState CS_Enable
static const GThread::CState CS_Disable
static const GThread::CType CT_Async
static const GThread::CType CT_Deferred
static const GThread::Signal SigHUP
static const GThread::Signal SigINT
static const GThread::Signal SigQUIT
static const GThread::Signal SigILL
static const GThread::Signal SigTRAP
static const GThread::Signal SigABRT
static const GThread::Signal SigIOT
static const GThread::Signal SigBUS
static const GThread::Signal SigFPE
static const GThread::Signal SigKILL
static const GThread::Signal SigUSR1
static const GThread::Signal SigSEGV
static const GThread::Signal SigUSR2
static const GThread::Signal SigPIPE
static const GThread::Signal SigALRM
static const GThread::Signal SigTERM
static const GThread::Signal SigSTKFLT
static const GThread::Signal SigCLD
static const GThread::Signal SigCHLD
static const GThread::Signal SigCONT
static const GThread::Signal SigSTOP
static const GThread::Signal SigTSTP
static const GThread::Signal SigTTIN
static const GThread::Signal SigTTOU
static const GThread::Signal SigURG
static const GThread::Signal SigXCPU
static const GThread::Signal SigXFSZ
static const GThread::Signal SigVTALRM
static const GThread::Signal SigPROF
static const GThread::Signal SigWINCH
static const GThread::Signal SigPOLL
static const GThread::Signal SigIO
static const GThread::Signal SigPWR
static const GThread::Signal SigUNUSED
GThread(GThread_foo f, void* a, bool d) :
mStartFoo(f), mArg(a), bDetached(d)
~GThread()
This should be clean up foo; Thread can die b4 object does
but ... as well ... object can die b4 thread does
void DeleteIfDetached()
GThread* wrap_and_register_self(ZMirEmittingEntity* owner)
void init_tsd()
void setup_tsd(ZMirEmittingEntity* owner)
void cleanup_tsd()
GThread* get_self()
void set_owner(ZMirEmittingEntity* owner)
ZMirEmittingEntity* get_owner()
void set_return_address(SaturnInfo* ra)
SaturnInfo* get_return_address()
void set_return_handle(UInt_t rh)
UInt_t get_return_handle()
int Spawn()
int Join(void** tret)
int Kill(Signal signal)
int Cancel()
int Detach()
void SetCancelState(CState s)
void SetCancelType(CType t)
void TestCancel()
void Exit(void* ret)
GThread* Self()
ISdebug(D_THRMUT,_s<<"Self gives " << pthread_self() <<" w/ "<< mIdMap[ pthread_self() ]));
Inline Functions
unsigned long RawSelf()
pthread_t GetId() const
GThread_foo GetStartFoo() const
void SetStartFoo(GThread_foo startfoo)
void* GetArg() const
void SetArg(void* arg)
GThread_cu_foo GetEndFoo() const
void SetEndFoo(GThread_cu_foo endfoo)
void* GetEndArg() const
void SetEndArg(void* endarg)
bool GetRunning() const
bool GetDetached() const
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
GThread GThread(const GThread&)
GThread& operator=(const GThread&)
Last update: Tue Jun 15 11:36:38 2004
ROOT page - Home page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.