12 #ifndef ROOT_TPosixThread 13 #define ROOT_TPosixThread virtual Int_t CancelPoint()
Introduce an explicit cancellation point. Returns 0.
virtual Int_t Run(TThread *th)
Create a pthread.
virtual Int_t CleanUp(void **main)
Default thread cleanup routine.
virtual Int_t SetCancelOn()
Turn on the cancellation state of the calling thread.
virtual Int_t Exit(void *ret)
Terminates the execution of the calling thread. Return 0.
#define ClassDef(name, id)
int main(int argc, char **argv)
virtual Long_t SelfId()
Return the thread identifier for the calling thread.
virtual Int_t SetCancelDeferred()
Set the cancellation response type of the calling thread to deferred, i.e.
virtual Int_t Kill(TThread *th)
Cancellation is the mechanism by which a thread can terminate the execution of another thread...
R__EXTERN C unsigned int sleep(unsigned int seconds)
virtual Int_t Join(TThread *th, void **ret)
Join suspends the execution of the calling thread until the thread identified by th terminates...
TPosixThreadCleanUp * fNext
virtual Int_t CleanUpPush(void **main, void *free, void *arg)
Add thread cleanup function.
virtual Int_t SetCancelAsynchronous()
Set the cancellation response type of the calling thread to asynchronous, i.e.
virtual Int_t SetCancelOff()
Turn off the cancellation state of the calling thread.
virtual Int_t CleanUpPop(void **main, Int_t exe)
Pop thread cleanup function from stack.