|
xrootd
|
#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.
Referenced by XrdClientConnectionMgr::ShutDown(), and XrdClient::~XrdClient().
| void XrdClientThread::CancelPoint | ( | ) | [inline] |
Referenced by GarbageCollectorThread().
| int XrdClientThread::Detach | ( | ) | [inline] |
References fThr.
| int XrdClientThread::Join | ( | void ** | ret = 0 | ) | [inline] |
| int XrdClientThread::MaskSignal | ( | int | snum = 0, |
| bool | block = 1 |
||
| ) |
Referenced by GarbageCollectorThread(), ParStreamOpenerThread(), and SocketReaderThread().
| int XrdClientThread::Run | ( | void * | arg = 0 | ) | [inline] |
References XrdClientThread::XrdClientThreadArgs::arg, fArg, fThr, XrdClientThread::XrdClientThreadArgs::threadobj, XrdClientThreadDispatcher, and XRDSYSTHREAD_HOLD.
Referenced by XrdClientConnectionMgr::BootUp(), and XrdClient::TryOpen().
| int XrdClientThread::SetCancelAsynchronous | ( | ) | [inline] |
| int XrdClientThread::SetCancelDeferred | ( | ) | [inline] |
Referenced by FileOpenerThread(), GarbageCollectorThread(), and XrdClientThreadDispatcher().
| int XrdClientThread::SetCancelOff | ( | ) | [inline] |
| int XrdClientThread::SetCancelOn | ( | ) | [inline] |
Referenced by FileOpenerThread(), GarbageCollectorThread(), and XrdClientThreadDispatcher().
| 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(), and XrdClientThreadDispatcher().
1.7.3