#include <XrdClientThread.hh>
Classes | |
struct | XrdClientThreadArgs |
Public Member Functions | |
XrdClientThread (VoidRtnFunc_t fn) | |
virtual | ~XrdClientThread () |
int | Cancel () |
int | Run (void *arg=0) |
int | Detach () |
int | Join (void **ret=0) |
int | SetCancelOn () |
int | SetCancelOff () |
int | SetCancelAsynchronous () |
int | SetCancelDeferred () |
void | CancelPoint () |
int | MaskSignal (int snum=0, bool block=1) |
Public Attributes | |
struct XrdClientThread::XrdClientThreadArgs | fArg |
Private Types | |
typedef void *(* | VoidRtnFunc_t )(void *, XrdClientThread *) |
Private Attributes | |
pthread_t | fThr |
VoidRtnFunc_t | ThreadFunc |
Friends | |
void * | XrdClientThreadDispatcher (void *) |
typedef void*(* XrdClientThread::VoidRtnFunc_t)(void *, XrdClientThread *) [private] |
XrdClientThread::XrdClientThread | ( | VoidRtnFunc_t | fn | ) | [inline] |
References fThr, and ThreadFunc.
virtual XrdClientThread::~XrdClientThread | ( | ) | [inline, virtual] |
int XrdClientThread::Cancel | ( | ) | [inline] |
References fThr.
void XrdClientThread::CancelPoint | ( | ) | [inline] |
int XrdClientThread::Detach | ( | ) | [inline] |
References fThr.
int XrdClientThread::Join | ( | void ** | ret = 0 |
) | [inline] |
References fThr.
int XrdClientThread::MaskSignal | ( | int | snum = 0 , |
|
bool | block = 1 | |||
) |
int XrdClientThread::Run | ( | void * | arg = 0 |
) | [inline] |
int XrdClientThread::SetCancelAsynchronous | ( | ) | [inline] |
int XrdClientThread::SetCancelDeferred | ( | ) | [inline] |
int XrdClientThread::SetCancelOff | ( | ) | [inline] |
int XrdClientThread::SetCancelOn | ( | ) | [inline] |
void* XrdClientThreadDispatcher | ( | void * | ) | [friend] |
Referenced by Run().
Referenced by Run().
pthread_t XrdClientThread::fThr [private] |
Referenced by Cancel(), Detach(), Join(), Run(), and XrdClientThread().
VoidRtnFunc_t XrdClientThread::ThreadFunc [private] |
Referenced by XrdClientThread().