#ifndef ROOT_TPosixThread
#define ROOT_TPosixThread
#ifndef ROOT_TThreadImp
#include "TThreadImp.h"
#endif
#ifndef __CINT__
#include <pthread.h>
#endif
R__EXTERN "C" unsigned int sleep(unsigned int seconds);
class TPosixThreadCleanUp;
class TPosixThread : public TThreadImp {
private:
TPosixThreadCleanUp *fCleanUp;
public:
TPosixThread() { }
~TPosixThread() { }
virtual Int_t Join(TThread *th, void **ret);
virtual Long_t SelfId();
virtual Int_t Run(TThread *th);
virtual Int_t Kill(TThread *th);
virtual Int_t SetCancelOff();
virtual Int_t SetCancelOn();
virtual Int_t SetCancelAsynchronous();
virtual Int_t SetCancelDeferred();
virtual Int_t CancelPoint();
virtual Int_t CleanUpPush(void **main, void *free,void *arg);
virtual Int_t CleanUpPop(void **main, Int_t exe);
virtual Int_t CleanUp(void **main);
virtual Int_t Exit(void *ret);
ClassDef(TPosixThread,0)
};
class TPosixThreadCleanUp {
friend class TPosixThread;
private:
void *fRoutine;
void *fArgument;
TPosixThreadCleanUp *fNext;
public:
TPosixThreadCleanUp(void **main, void *routine, void *arg);
~TPosixThreadCleanUp() { }
};
#endif
Last change: Wed Jun 25 08:50:51 2008
Last generated: 2008-06-25 08:50
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.