#include "GThread.h"

GThread


class description - source file - inheritance tree (.pdf)

class GThread

Inheritance Chart:
GThread
    private:
static void cleanup_tsd() static ZMirEmittingEntity* get_owner() static GThread* get_self() static void init_tsd() static void set_mir(ZMIR* mir) static void set_owner(ZMirEmittingEntity* owner) 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 GThread::CState CancelOff() static GThread::CState CancelOn() static TClass* Class() static void DeleteIfDetached() int Detach() static void Exit(void* ret = 0) static ZMIR* get_mir() void* GetArg() bool GetDetached() void* GetEndArg() GThread_cu_foo GetEndFoo() pthread_t GetId() bool GetRunning() GThread_foo GetStartFoo() 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 GThread::CState SetCancelState(GThread::CState s) static GThread::CType 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() static GThread* TSDSelf()

Data Members

    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_MIR 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

Class Description


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_mir(ZMIR* mir)

ZMIR* get_mir()

int Spawn()

int Join(void** tret)

int Kill(Signal signal)

int Cancel()

int Detach()

void TestCancel()

void Exit(void* ret)

GThread* Self()
ISdebug(D_THRMUT,_s<<"Self gives " << pthread_self() <<" w/ "<< mIdMap[ pthread_self() ]));

GThread* TSDSelf()



Inline Functions


        GThread::CState SetCancelState(GThread::CState s)
        GThread::CState CancelOn()
        GThread::CState CancelOff()
         GThread::CType SetCancelType(GThread::CType t)
          unsigned long RawSelf()
              pthread_t GetId()
            GThread_foo GetStartFoo()
                   void SetStartFoo(GThread_foo startfoo)
                  void* GetArg()
                   void SetArg(void* arg)
         GThread_cu_foo GetEndFoo()
                   void SetEndFoo(GThread_cu_foo endfoo)
                  void* GetEndArg()
                   void SetEndArg(void* endarg)
                   bool GetRunning()
                   bool GetDetached()
                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: Thu Jun 9 15:56:27 2005


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.