library: libThread
#include "TPosixThread.h"

TPosixThread


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

class TPosixThread : public TThreadImp

Inheritance Chart:
TObject
<-
TThreadImp
<-
TPosixThread

    public:
TPosixThread() TPosixThread(const TPosixThread&) ~TPosixThread() virtual Int_t CancelPoint() static TClass* Class() virtual Int_t CleanUp(void** main) virtual Int_t CleanUpPop(void** main, Int_t exe) virtual Int_t CleanUpPush(void** main, void* free, void* arg) virtual Int_t Exit(void* ret) virtual TClass* IsA() const virtual Int_t Join(TThread* th, void** ret) virtual Int_t Kill(TThread* th) TPosixThread& operator=(const TPosixThread&) virtual Int_t Run(TThread* th) virtual Long_t SelfId() virtual Int_t SetCancelAsynchronous() virtual Int_t SetCancelDeferred() virtual Int_t SetCancelOff() virtual Int_t SetCancelOn() virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
TPosixThreadCleanUp* fCleanUp

Class Description

                                                                      
 TPosixThread                                                         
                                                                      
 This class provides an interface to the posix thread routines.       
                                                                      

Int_t Run(TThread *th)
 Create a pthread.
Int_t Join(TThread *th, void **ret)
 Join  suspends  the  execution  of the calling thread until the
 thread identified by th terminates, either by  calling  pthread_exit
 or by being cancelled.
Int_t Exit(void *ret)
 Terminates the execution of the calling thread.
Int_t Kill(TThread *th)
 Cancellation is the mechanism by which a thread can terminate the
 execution of another thread.
Int_t SetCancelOff()
 Turn off the cancellation state of the calling thread.
Int_t SetCancelOn()
 Turn on the cancellation state of the calling thread.
Int_t SetCancelAsynchronous()
 Set the cancellation response type of the calling thread to
 asynchronous, i.e. cancel as soon as the cancellation request
 is received.
Int_t SetCancelDeferred()
 Set the cancellation response type of the calling thread to
 deferred, i.e. cancel only at next cancellation point.
Int_t CancelPoint()
 Introduce an explicit cancellation point.
Int_t CleanUpPush(void **main, void *free, void *arg)
 Add thread cleanup function.
Int_t CleanUpPop(void **main,Int_t exe)
 Pop thread cleanup function from stack.
Int_t CleanUp(void **main)
 Default thread cleanup routine.
Long_t SelfId()
 Return the thread identifier for the calling thread.
TPosixThread()
~TPosixThread()

Author: Fons Rademakers 02/07/97
Last update: root/thread:$Name: $:$Id: TPosixThread.cxx,v 1.12 2006/05/14 07:53:19 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT 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.