![]() |
XRootD
|
#include <cstdio>
#include <cstdlib>
#include "XrdSys/XrdSysE2T.hh"
#include "XrdSys/XrdSysFD.hh"
#include "XrdSys/XrdSysIOEvents.hh"
#include "XrdSys/XrdSysHeaders.hh"
#include "XrdSys/XrdSysPlatform.hh"
#include "XrdSys/XrdSysPthread.hh"
#include "XrdSys/XrdSysIOEventsPollPoll.icc"
Go to the source code of this file.
Classes | |
class | XrdSys::IOEvents::BootStrap |
struct | XrdSys::IOEvents::pollArg |
class | XrdSys::IOEvents::PollerErr1 |
class | XrdSys::IOEvents::PollerInit |
class | XrdSys::IOEvents::PollerWait |
Namespaces | |
namespace | XrdSys |
namespace | XrdSys::IOEvents |
Macros | |
#define | BOOLNAME(x) (x ? "true" : "false") |
#define | DO_TRACE(x, fd, y) |
#define | IF_TRACE(x, fd, y) if (TRACING) DO_TRACE(x,fd,y) |
#define | INSERT(dlvar, curitem, newitem) |
#define | ISPOLLER XrdSysThread::Same(XrdSysThread::ID(),pollTid) |
#define | REMOVE(dlbase, dlvar, curitem) |
#define | REVENTS(x) x & Channel:: readEvents |
#define | SINGLETON(dlvar, theitem) theitem ->dlvar .next == theitem |
#define | STATUS statName[(int)chStat] |
#define | STATUSOF(x) statName[(int)(x->chStat)] |
#define | TRACE_LOK " channel now " <<(isLocked ? "locked" : "unlocked") |
#define | TRACE_MOD(x, fd, y) |
#define | TRACE_NOD(x, fd, y) IF_TRACE(x,fd,"Modify(" <<y <<") skipped; no events changed") |
#define | TRACING PollerInit::doTrace |
#define | WEVENTS(x) x & Channel::writeEvents |
Variables | |
PollerErr1 | XrdSys::IOEvents::pollErr1 |
PollerInit | XrdSys::IOEvents::pollInit |
PollerWait | XrdSys::IOEvents::pollWait |
#define BOOLNAME | ( | x | ) | (x ? "true" : "false") |
Definition at line 84 of file XrdSysIOEvents.cc.
Referenced by XrdSys::IOEvents::Poller::CbkXeq(), XrdSys::IOEvents::Poller::Init(), XrdSys::IOEvents::PollerInit::Modify(), XrdSys::IOEvents::Poller::TmoAdd(), and XrdSys::IOEvents::Poller::TmoDel().
#define DO_TRACE | ( | x, | |
fd, | |||
y ) |
Definition at line 86 of file XrdSysIOEvents.cc.
Referenced by XrdSys::IOEvents::Poller::CbkXeq().
Definition at line 93 of file XrdSysIOEvents.cc.
Referenced by XrdSys::IOEvents::Poller::CbkXeq(), XrdSys::IOEvents::Channel::Delete(), XrdSys::IOEvents::Channel::Disable(), XrdSys::IOEvents::Channel::Enable(), XrdSys::IOEvents::Poller::Init(), XrdSys::IOEvents::PollerInit::Modify(), XrdSys::IOEvents::Poller::TmoAdd(), and XrdSys::IOEvents::Poller::TmoDel().
#define INSERT | ( | dlvar, | |
curitem, | |||
newitem ) |
Definition at line 64 of file XrdSysIOEvents.cc.
#define ISPOLLER XrdSysThread::Same(XrdSysThread::ID(),pollTid) |
Definition at line 82 of file XrdSysIOEvents.cc.
Referenced by XrdSys::IOEvents::PollPoll::Exclude(), XrdSys::IOEvents::PollPoll::Include(), and XrdSys::IOEvents::PollPoll::Modify().
#define REMOVE | ( | dlbase, | |
dlvar, | |||
curitem ) |
Definition at line 70 of file XrdSysIOEvents.cc.
#define REVENTS | ( | x | ) | x & Channel:: readEvents |
Definition at line 78 of file XrdSysIOEvents.cc.
Referenced by XrdSys::IOEvents::Poller::CbkXeq(), XrdSys::IOEvents::Channel::Enable(), and XrdSys::IOEvents::Poller::TmoAdd().
#define SINGLETON | ( | dlvar, | |
theitem ) theitem ->dlvar .next == theitem |
Definition at line 61 of file XrdSysIOEvents.cc.
#define STATUS statName[(int)chStat] |
Definition at line 57 of file XrdSysIOEvents.cc.
Referenced by XrdSys::IOEvents::Channel::Delete().
#define STATUSOF | ( | x | ) | statName[(int)(x->chStat)] |
Definition at line 59 of file XrdSysIOEvents.cc.
Referenced by XrdSys::IOEvents::Poller::TmoAdd(), and XrdSys::IOEvents::Poller::TmoDel().
#define TRACE_LOK " channel now " <<(isLocked ? "locked" : "unlocked") |
Definition at line 95 of file XrdSysIOEvents.cc.
Referenced by XrdSys::IOEvents::Poller::Init().
#define TRACE_MOD | ( | x, | |
fd, | |||
y ) |
Definition at line 97 of file XrdSysIOEvents.cc.
Referenced by XrdSys::IOEvents::Poller::CbkXeq(), XrdSys::IOEvents::Channel::Disable(), XrdSys::IOEvents::Channel::Enable(), and XrdSys::IOEvents::Poller::Init().
#define TRACE_NOD | ( | x, | |
fd, | |||
y ) IF_TRACE(x,fd,"Modify(" <<y <<") skipped; no events changed") |
Definition at line 101 of file XrdSysIOEvents.cc.
Referenced by XrdSys::IOEvents::Channel::Disable(), XrdSys::IOEvents::Channel::Enable(), and XrdSys::IOEvents::Poller::Init().
#define TRACING PollerInit::doTrace |
Definition at line 91 of file XrdSysIOEvents.cc.
#define WEVENTS | ( | x | ) | x & Channel::writeEvents |
Definition at line 80 of file XrdSysIOEvents.cc.
Referenced by XrdSys::IOEvents::Poller::CbkXeq(), XrdSys::IOEvents::Channel::Enable(), and XrdSys::IOEvents::Poller::TmoAdd().