28 #ifndef __AtomicObject_H__
29 #define __AtomicObject_H__
75 bool cas (
const T &old,
const T &nu)
78 if (
mField != old)
return false;
bool cas(const T &old, const T &nu)
#define OGRE_LOCK_AUTO_MUTEX
T operator-=(const T &sub)
void operator=(const AtomicObject< T > &cousin)
AtomicObject(const AtomicObject< T > &cousin)
T operator+=(const T &add)
AtomicObject(const T &initial)