xrootd
|
Go to the source code of this file.
Defines | |
#define | AtomicBeg(Mtx) Mtx.Lock() |
#define | AtomicEnd(Mtx) Mtx.UnLock() |
#define | AtomicAdd(x, y) x += y |
#define | AtomicCAS(x, y, z) if (x == y) x = z |
#define | AtomicDTZ(x) if (!(x--)) x = 0 |
#define | AtomicDec(x) x-- |
#define | AtomicFAZ(x) x; x = 0 |
#define | AtomicGet(x) x |
#define | AtomicInc(x) x++ |
#define | AtomicISM(x, y) if (y == x++) y = x |
#define | AtomicSub(x, y) x -= y |
#define AtomicAdd | ( | x, | |
y | |||
) | x += y |
Referenced by XrdLink::Recv(), XrdLink::RecvAll(), XrdLink::Send(), and XrdLink::syncStats().
#define AtomicBeg | ( | Mtx | ) | Mtx.Lock() |
Referenced by XrdLink::Alloc(), XrdLink::Stats(), and XrdLink::syncStats().
#define AtomicCAS | ( | x, | |
y, | |||
z | |||
) | if (x == y) x = z |
#define AtomicDec | ( | x | ) | x-- |
#define AtomicDTZ | ( | x | ) | if (!(x--)) x = 0 |
Referenced by XrdLink::syncStats().
#define AtomicEnd | ( | Mtx | ) | Mtx.UnLock() |
Referenced by XrdLink::Alloc(), XrdLink::Stats(), and XrdLink::syncStats().
#define AtomicFAZ | ( | x | ) | x; x = 0 |
Referenced by XrdLink::syncStats().
#define AtomicGet | ( | x | ) | x |
Referenced by XrdLink::Stats().
#define AtomicInc | ( | x | ) | x++ |
Referenced by XrdLink::Alloc().
#define AtomicISM | ( | x, | |
y | |||
) | if (y == x++) y = x |
Referenced by XrdLink::Alloc().
#define AtomicSub | ( | x, | |
y | |||
) | x -= y |