Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

XrdSysAtomics.hh File Reference

This graph shows which files directly or indirectly include this file:

Included by dependency graph

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 Documentation

#define AtomicAdd x,
 )     x += y
 

#define AtomicBeg Mtx   )     Mtx.Lock()
 

#define AtomicCAS x,
y,
 )     if (x == y) x = z
 

#define AtomicDec  )     x--
 

#define AtomicDTZ  )     if (!(x--)) x = 0
 

#define AtomicEnd Mtx   )     Mtx.UnLock()
 

#define AtomicFAZ  )     x; x = 0
 

#define AtomicGet  )     x
 

#define AtomicInc  )     x++
 

#define AtomicISM x,
 )     if (y == x++) y = x
 

#define AtomicSub x,
 )     x -= y
 


Generated on Sun Nov 6 13:41:25 2011 for xrootd by  doxygen 1.3.9.1