xrootd
Classes | Public Member Functions | Public Attributes | Private Types | Private Attributes | Friends | List of all members
XrdClientThread Class Reference

#include <XrdClientThread.hh>

Collaboration diagram for XrdClientThread:
Collaboration graph
[legend]

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 *)
 

Member Typedef Documentation

◆ VoidRtnFunc_t

typedef void*(* XrdClientThread::VoidRtnFunc_t) (void *, XrdClientThread *)
private

Constructor & Destructor Documentation

◆ XrdClientThread()

XrdClientThread::XrdClientThread ( VoidRtnFunc_t  fn)
inline

References fThr, and ThreadFunc.

◆ ~XrdClientThread()

virtual XrdClientThread::~XrdClientThread ( )
inlinevirtual

Member Function Documentation

◆ Cancel()

int XrdClientThread::Cancel ( )
inline

References XrdSysThread::Cancel(), and fThr.

◆ CancelPoint()

void XrdClientThread::CancelPoint ( )
inline

◆ Detach()

int XrdClientThread::Detach ( )
inline

References XrdSysThread::Detach(), and fThr.

◆ Join()

int XrdClientThread::Join ( void **  ret = 0)
inline

References fThr, and XrdSysThread::Join().

◆ MaskSignal()

int XrdClientThread::MaskSignal ( int  snum = 0,
bool  block = 1 
)

◆ Run()

int XrdClientThread::Run ( void *  arg = 0)
inline

◆ SetCancelAsynchronous()

int XrdClientThread::SetCancelAsynchronous ( )
inline

◆ SetCancelDeferred()

int XrdClientThread::SetCancelDeferred ( )
inline

◆ SetCancelOff()

int XrdClientThread::SetCancelOff ( )
inline

◆ SetCancelOn()

int XrdClientThread::SetCancelOn ( )
inline

Friends And Related Function Documentation

◆ XrdClientThreadDispatcher

void* XrdClientThreadDispatcher ( void *  )
friend

Referenced by Run().

Member Data Documentation

◆ fArg

struct XrdClientThread::XrdClientThreadArgs XrdClientThread::fArg

Referenced by Run().

◆ fThr

pthread_t XrdClientThread::fThr
private

◆ ThreadFunc

VoidRtnFunc_t XrdClientThread::ThreadFunc
private

Referenced by XrdClientThread().


The documentation for this class was generated from the following file: