|
void | Begin (XrdSysSemaphore *syncp, int &rc, const char **eTxt) |
|
void | Exclude (Channel *cP, bool &isLocked, bool dover=1) |
|
bool | Include (Channel *cP, int &eNum, const char **eTxt, bool &isLocked) |
|
bool | Modify (Channel *cP, int &eNum, const char **eTxt, bool &isLocked) |
|
void | Shutdown () |
|
void | CbkTMO () |
|
bool | CbkXeq (Channel *cP, int events, int eNum, const char *eTxt) |
|
| CPP_ATOMIC_TYPE (bool) wakePend |
|
int | GetFault (Channel *cP) |
|
int | GetPollEnt (Channel *cP) |
|
int | GetRequest () |
|
bool | Init (Channel *cP, int &eNum, const char **eTxt, bool &isLockd) |
|
void | LockChannel (Channel *cP) |
|
int | Poll2Enum (short events) |
|
int | SendCmd (PipeData &cmd) |
|
void | SetPollEnt (Channel *cP, int ptEnt) |
|
bool | TmoAdd (Channel *cP, int tmoSet) |
|
void | TmoDel (Channel *cP) |
|
int | TmoGet () |
|
void | UnLockChannel (Channel *cP) |
|
Definition at line 205 of file XrdSysIOEvents.cc.
◆ PollerInit()
XrdSys::IOEvents::PollerInit::PollerInit |
( |
| ) |
|
|
inline |
◆ ~PollerInit()
XrdSys::IOEvents::PollerInit::~PollerInit |
( |
| ) |
|
|
inline |
◆ Begin()
void XrdSys::IOEvents::PollerInit::Begin |
( |
XrdSysSemaphore * |
syncp, |
|
|
int & |
rc, |
|
|
const char ** |
eTxt |
|
) |
| |
|
inlineprotectedvirtual |
◆ Exclude()
void XrdSys::IOEvents::PollerInit::Exclude |
( |
Channel * |
cP, |
|
|
bool & |
isLocked, |
|
|
bool |
dover = 1 |
|
) |
| |
|
inlineprotectedvirtual |
Remove a channel to the poll set. An implementation must be supplied. The channel is locked when this method is called but must be unlocked by the method if a command is sent to the poller thread and isLocked set to false.
Implements XrdSys::IOEvents::Poller.
Definition at line 219 of file XrdSysIOEvents.cc.
◆ Include()
bool XrdSys::IOEvents::PollerInit::Include |
( |
Channel * |
cP, |
|
|
int & |
eNum, |
|
|
const char ** |
eTxt, |
|
|
bool & |
isLocked |
|
) |
| |
|
inlineprotectedvirtual |
Add a channel to the poll set. An implementation must be supplied. The channel is locked when this method is called but must be unlocked by the method if a command is sent to the poller thread and isLocked set to false.
Implements XrdSys::IOEvents::Poller.
Definition at line 221 of file XrdSysIOEvents.cc.
223 if (eTxt) *eTxt =
"initializing channel";
◆ Modify()
bool XrdSys::IOEvents::PollerInit::Modify |
( |
Channel * |
cP, |
|
|
int & |
eNum, |
|
|
const char ** |
eTxt, |
|
|
bool & |
isLocked |
|
) |
| |
|
inlineprotectedvirtual |
Modify the event status of a channel. An implementation must be supplied. The channel is locked when this method is called but must be unlocked by the method if a command is sent to the poller thread and isLocked set to false.
Implements XrdSys::IOEvents::Poller.
Definition at line 227 of file XrdSysIOEvents.cc.
228 {
bool rc =
Init(cP, eNum, eTxt, isLocked);
#define IF_TRACE(x, fd, y)
bool Modify(Channel *cP, int &eNum, const char **eTxt, bool &isLocked)
bool Init(Channel *cP, int &eNum, const char **eTxt, bool &isLockd)
References BOOLNAME, XrdSys::IOEvents::Channel::GetFD(), IF_TRACE, and XrdSys::IOEvents::Poller::Init().
◆ Shutdown()
void XrdSys::IOEvents::PollerInit::Shutdown |
( |
| ) |
|
|
inlineprotectedvirtual |
Shutdown the poller. An implementation must be supplied. The shutdown method must release any allocated storage and close private file descriptors. The polling thread will have already been terminated and x-thread pipe closed. Warning: the derived destructor must call Stop() and do nothing else!
Implements XrdSys::IOEvents::Poller.
Definition at line 233 of file XrdSysIOEvents.cc.
◆ doTrace
bool XrdSys::IOEvents::PollerInit::doTrace = (getenv("XrdSysIOE_TRACE") != 0) |
|
static |
◆ traceMTX
The documentation for this class was generated from the following file: