xrootd
Public Member Functions | Static Public Member Functions | Static Private Attributes
XrdSysThread Class Reference

#include <XrdSysPthread.hh>

Collaboration diagram for XrdSysThread:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 XrdSysThread ()
 ~XrdSysThread ()

Static Public Member Functions

static int Cancel (pthread_t tid)
static int Detach (pthread_t tid)
static int SetCancelOff ()
static int Join (pthread_t tid, void **ret)
static int SetCancelOn ()
static int SetCancelAsynchronous ()
static int SetCancelDeferred ()
static void CancelPoint ()
static pthread_t ID (void)
static int Kill (pthread_t tid)
static unsigned long Num (void)
static int Run (pthread_t *, void *(*proc)(void *), void *arg, int opts=0, const char *desc=0)
static int Same (pthread_t t1, pthread_t t2)
static void setDebug (XrdSysError *erp)
static void setStackSize (size_t stsz)
static int Signal (pthread_t tid, int snum)
static int Wait (pthread_t tid)

Static Private Attributes

static XrdSysError * eDest = 0
static size_t stackSize = 0

Constructor & Destructor Documentation


Member Function Documentation

static int XrdSysThread::Cancel ( pthread_t  tid) [inline, static]
static void XrdSysThread::CancelPoint ( ) [inline, static]
static int XrdSysThread::Detach ( pthread_t  tid) [inline, static]
static pthread_t XrdSysThread::ID ( void  ) [inline, static]
static int XrdSysThread::Join ( pthread_t  tid,
void **  ret 
) [inline, static]
static int XrdSysThread::Kill ( pthread_t  tid) [inline, static]
unsigned long XrdSysThread::Num ( void  ) [static]

Referenced by XrdSysLogger::Time().

int XrdSysThread::Run ( pthread_t *  tid,
void *(*)(void *)  proc,
void *  arg,
int  opts = 0,
const char *  desc = 0 
) [static]
static int XrdSysThread::Same ( pthread_t  t1,
pthread_t  t2 
) [inline, static]
static int XrdSysThread::SetCancelAsynchronous ( ) [inline, static]
static int XrdSysThread::SetCancelDeferred ( ) [inline, static]
static int XrdSysThread::SetCancelOff ( ) [inline, static]
static int XrdSysThread::SetCancelOn ( ) [inline, static]
static void XrdSysThread::setDebug ( XrdSysError *  erp) [inline, static]

References eDest.

Referenced by XrdConfig::Configure(), and XrdCnsConfig::Configure().

static void XrdSysThread::setStackSize ( size_t  stsz) [inline, static]

References stackSize.

Referenced by main(), and XrdConfig::xsched().

static int XrdSysThread::Signal ( pthread_t  tid,
int  snum 
) [inline, static]
int XrdSysThread::Wait ( pthread_t  tid) [static]

Member Data Documentation

XrdSysError * XrdSysThread::eDest = 0 [static, private]

Referenced by Run(), and setDebug().

size_t XrdSysThread::stackSize = 0 [static, private]

Referenced by Run(), and setStackSize().


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