Public Member Functions | |
XrdW41Gate () | |
~XrdW41Gate () | |
Static Public Member Functions | |
static void | Serialize (XrdOucTList *gfP, int Wait=1) |
static int | Wait41 (XrdOucTList *fP) |
Static Private Attributes | |
static XrdSysMutex | gateMutex |
static XrdSysSemaphore | gateSem |
static int | gateOpen |
Definition at line 48 of file XrdWait41.cc.
XrdW41Gate::XrdW41Gate | ( | ) | [inline] |
Definition at line 56 of file XrdWait41.cc.
XrdW41Gate::~XrdW41Gate | ( | ) | [inline] |
Definition at line 57 of file XrdWait41.cc.
void XrdW41Gate::Serialize | ( | XrdOucTList * | gfP, | |
int | Wait = 1 | |||
) | [static] |
Definition at line 207 of file XrdWait41.cc.
References close, fcntl(), FLOCK_t, gateMutex, gateOpen, gateSem, XrdSysMutex::Lock(), XrdSysSemaphore::Post(), strerror(), XrdOucTList::text, XrdSysMutex::UnLock(), and XrdOucTList::val.
Referenced by XrdWait41::GateWait().
int XrdW41Gate::Wait41 | ( | XrdOucTList * | fP | ) | [static] |
Definition at line 242 of file XrdWait41.cc.
References close, gateMutex, gateOpen, gateSem, XrdWait41::GateWait(), XrdSysMutex::Lock(), open, XrdSysThread::Run(), S_IRGRP, S_IROTH, S_IRUSR, S_IWUSR, strerror(), XrdOucTList::text, XrdSysMutex::UnLock(), XrdOucTList::val, XrdSysSemaphore::Wait(), and XRDSYSTHREAD_BIND.
Referenced by main().
XrdSysMutex XrdW41Gate::gateMutex [static, private] |
XrdSysSemaphore XrdW41Gate::gateSem [static, private] |
int XrdW41Gate::gateOpen [static, private] |