![]() |
XRootD
|
Go to the source code of this file.
Macros | |
#define | AtomicAdd(x, y) x += y |
#define | AtomicBeg(Mtx) Mtx.Lock() |
#define | AtomicCAS(x, y, z) if (x == y) x = z |
#define | AtomicDec(x) x-- |
#define | AtomicEnd(Mtx) Mtx.UnLock() |
#define | AtomicFAdd(w, x, y) {w = x; x += y;} |
#define | AtomicFAZ(x) x; x = 0 |
#define | AtomicFSub(w, x, y) {w = x; x -= y;} |
#define | AtomicFZAP(w, x) {w = x; x = 0;} |
#define | AtomicGet(x) x |
#define | AtomicInc(x) x++ |
#define | AtomicRet(mtx, x) |
#define | AtomicSub(x, y) x -= y |
#define | AtomicZAP(x) x = 0 |
#define | CPP_ATOMIC_LOAD(x, order) x |
#define | CPP_ATOMIC_STORE(x, val, order) x = val |
#define | CPP_ATOMIC_TYPE(kind) kind |
#define AtomicAdd | ( | x, | |
y ) x += y |
Definition at line 65 of file XrdSysAtomics.hh.
Referenced by XrdLinkXeq::Recv(), XrdLinkXeq::Recv(), XrdLinkXeq::Recv(), XrdLinkXeq::RecvAll(), XrdLinkXeq::Send(), XrdLinkXeq::Send(), XrdLinkXeq::Send(), XrdThrottleManager::StopIOTimer(), XrdLinkXeq::syncStats(), XrdLinkXeq::TLS_Recv(), XrdLinkXeq::TLS_Recv(), XrdLinkXeq::TLS_Recv(), XrdLinkXeq::TLS_Send(), XrdLinkXeq::TLS_Send(), and XrdLinkXeq::TLS_Send().
#define AtomicBeg | ( | Mtx | ) | Mtx.Lock() |
Definition at line 63 of file XrdSysAtomics.hh.
Referenced by XrdThrottleManager::Apply(), XrdOucCacheStats::Count(), XrdPosixStats::Count(), XrdXrootdTransit::Disc(), XrdPosixFile::FSize(), XrdXrootdProtocol::getSID(), XrdXrootdTransit::Process(), XrdXrootdTransit::Recycle(), XrdXrootdTransit::Redrive(), XrdPosixObject::Ref(), XrdSecsssEnt::Ref(), XrdXrootdTransit::Run(), XrdThrottleManager::StartIOTimer(), XrdLinkXeq::Stats(), XrdThrottleManager::StopIOTimer(), XrdCmsClientMan::Suspended(), XrdLinkXeq::syncStats(), XrdSecsssEnt::UnRef(), and XrdPosixObject::unRef().
#define AtomicCAS | ( | x, | |
y, | |||
z ) if (x == y) x = z |
Definition at line 67 of file XrdSysAtomics.hh.
Referenced by XrdCl::DefaultEnv::GetPostMaster().
#define AtomicDec | ( | x | ) | x-- |
Definition at line 68 of file XrdSysAtomics.hh.
Referenced by XrdSys::IOEvents::PollE::Exclude(), XrdSys::IOEvents::PollKQ::Exclude(), XrdOssFile::ReadV(), XrdThrottleManager::StartIOTimer(), XrdThrottleManager::StopIOTimer(), XrdLinkXeq::syncStats(), XrdSecsssEnt::UnRef(), and XrdPosixObject::unRef().
#define AtomicEnd | ( | Mtx | ) | Mtx.UnLock() |
Definition at line 64 of file XrdSysAtomics.hh.
Referenced by XrdThrottleManager::Apply(), XrdOucCacheStats::Count(), XrdPosixStats::Count(), XrdXrootdTransit::Disc(), XrdPosixFile::FSize(), XrdXrootdProtocol::getSID(), XrdXrootdTransit::Process(), XrdXrootdTransit::Recycle(), XrdXrootdTransit::Redrive(), XrdPosixObject::Ref(), XrdSecsssEnt::Ref(), XrdXrootdTransit::Run(), XrdThrottleManager::StartIOTimer(), XrdLinkXeq::Stats(), XrdThrottleManager::StopIOTimer(), XrdCmsClientMan::Suspended(), XrdLinkXeq::syncStats(), XrdSecsssEnt::UnRef(), and XrdPosixObject::unRef().
#define AtomicFAdd | ( | w, | |
x, | |||
y ) {w = x; x += y;} |
Definition at line 66 of file XrdSysAtomics.hh.
#define AtomicFAZ | ( | x | ) | x; x = 0 |
Definition at line 69 of file XrdSysAtomics.hh.
Referenced by XrdLinkXeq::syncStats().
#define AtomicFSub | ( | w, | |
x, | |||
y ) {w = x; x -= y;} |
Definition at line 74 of file XrdSysAtomics.hh.
#define AtomicFZAP | ( | w, | |
x ) {w = x; x = 0;} |
Definition at line 70 of file XrdSysAtomics.hh.
#define AtomicGet | ( | x | ) | x |
Definition at line 71 of file XrdSysAtomics.hh.
Referenced by XrdSys::IOEvents::PollE::Begin(), XrdSys::IOEvents::PollKQ::Begin(), XrdThrottleManager::CheckLoadShed(), XrdOucBackTrace::DoBT(), XrdPosixFile::FSize(), XrdCl::DefaultEnv::GetPostMaster(), XrdLinkXeq::Stats(), XrdCmsClientMan::Suspended(), and XrdOucBackTrace::XrdBT().
#define AtomicInc | ( | x | ) | x++ |
Definition at line 72 of file XrdSysAtomics.hh.
Referenced by XrdLinkCtl::Alloc(), XrdThrottleManager::Apply(), XrdOucCacheStats::Count(), XrdPosixStats::Count(), XrdXrootdTransit::Disc(), XrdOucBackTrace::Filter(), XrdXrootdProtocol::getSID(), XrdSys::IOEvents::PollE::Include(), XrdSys::IOEvents::PollKQ::Include(), XrdOssFile::ReadV(), XrdXrootdTransit::Recycle(), XrdPosixObject::Ref(), XrdSecsssEnt::Ref(), XrdXrootdTransit::Run(), and XrdThrottleManager::StartIOTimer().
#define AtomicRet | ( | mtx, | |
x ) |
Definition at line 76 of file XrdSysAtomics.hh.
Referenced by XrdCmsClientMan::isActive(), XrdPosixFile::Offset(), XrdPosixObject::Refs(), and XrdCmsClientMan::waitTime().
#define AtomicSub | ( | x, | |
y ) x -= y |
Definition at line 73 of file XrdSysAtomics.hh.
#define AtomicZAP | ( | x | ) | x = 0 |
Definition at line 75 of file XrdSysAtomics.hh.
Referenced by XrdOucBackTrace::Filter(), XrdXrootdTransit::Process(), and XrdXrootdTransit::Redrive().
#define CPP_ATOMIC_LOAD | ( | x, | |
order ) x |
Definition at line 95 of file XrdSysAtomics.hh.
Referenced by XrdSys::IOEvents::Channel::Enable().
#define CPP_ATOMIC_STORE | ( | x, | |
val, | |||
order ) x = val |
Definition at line 96 of file XrdSysAtomics.hh.
Referenced by XrdSys::IOEvents::PollE::Begin(), and XrdSys::IOEvents::Poller::TmoGet().
#define CPP_ATOMIC_TYPE | ( | kind | ) | kind |
Definition at line 97 of file XrdSysAtomics.hh.