23 #ifndef __ccxx_AtomicCounter_hxx 24 #define __ccxx_AtomicCounter_hxx 60 int32_t operator++(
int);
66 int32_t operator--(
int);
69 int32_t operator+=(int32_t delta);
72 int32_t operator-=(int32_t delta);
81 int32_t operator=(int32_t value);
84 int32_t
set(int32_t value);
87 int32_t
swap(int32_t value);
97 int32_t testAndSet(int32_t value, int32_t comparand);
103 inline operator int32_t()
const 108 mutable int32_t _atomic;
113 #endif // __ccxx_AtomicCounter_hxx const TimeSpan operator-(const TimeSpan &s1, const TimeSpan &s2)
Definition: TimeSpan.c++:386
void swap(ScopedPtr< T > &a, ScopedPtr< T > &b)
Swap two ScopedPtr values.
Definition: ScopedPtr.h++:133
const TimeSpan operator+(const TimeSpan &s1, const TimeSpan &s2)
Definition: TimeSpan.c++:362
An integer counter whose value is modified in an atomic fashion.
Definition: AtomicCounter.h++:36
#define COMMONCPP_API
Definition: Common.h++:126
Definition: AllocationMap.c++:25