xrootd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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

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

Constructor & Destructor Documentation

XrdClientThread::XrdClientThread ( VoidRtnFunc_t  fn)
inline

References fThr, and ThreadFunc.

virtual XrdClientThread::~XrdClientThread ( )
inlinevirtual

Member Function Documentation

int XrdClientThread::Cancel ( )
inline

References XrdSysThread::Cancel(), and fThr.

void XrdClientThread::CancelPoint ( )
inline
int XrdClientThread::Detach ( )
inline

References XrdSysThread::Detach(), and fThr.

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

References fThr, and XrdSysThread::Join().

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

Friends And Related Function Documentation

void* XrdClientThreadDispatcher ( void *  )
friend

Referenced by Run().

Member Data Documentation

struct XrdClientThread::XrdClientThreadArgs XrdClientThread::fArg

Referenced by Run().

pthread_t XrdClientThread::fThr
private
VoidRtnFunc_t XrdClientThread::ThreadFunc
private

Referenced by XrdClientThread().


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