92 const T& Store(
const T& newval)
103 T& operator()()
const {
return m_val; }
111 return value(m_val, m_lock);
123 template <
typename T>
136 T operator+=(T amount)
147 T operator-=(T amount)
static void Lock(Lockable *lock)
static void DestroyLock(Lockable *lock)
static void ClearLock(Lockable *lock)
static Lockable * CreateLock()
static void Unlock(Lockable *lock)
LockGuard(Lockable *lock)
This is the main namespace that encloses all public classes.