xrootd
Public Member Functions | Static Public Member Functions | Static Private 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 Member Functions

static void doInit (void)

Static Private Attributes

static XrdSysErroreDest = 0
static pthread_key_t threadNumkey
static size_t stackSize = 0
static int initDone = 0

Constructor & Destructor Documentation

XrdSysThread::XrdSysThread ( ) [inline]
XrdSysThread::~XrdSysThread ( ) [inline]

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]
void XrdSysThread::doInit ( void  ) [static, private]
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]
static unsigned long XrdSysThread::Num ( void  ) [inline, static]

References doInit(), initDone, and threadNumkey.

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]

Referenced by XrdLink::Bind().

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]

Referenced by XrdLink::Bind().

int XrdSysThread::Wait ( pthread_t  tid) [static]

Member Data Documentation

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

Referenced by Run(), and setDebug().

int XrdSysThread::initDone = 0 [static, private]

Referenced by doInit(), Num(), and Run().

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

Referenced by Run(), and setStackSize().

pthread_key_t XrdSysThread::threadNumkey [static, private]

Referenced by doInit(), Num(), and Run().


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