The Pedigree Project
0.1
|
#include <Atomic.h>
Public Member Functions | |
Atomic (T value=T()) | |
Atomic (const Atomic &x) | |
Atomic & | operator= (const Atomic &x) |
virtual | ~Atomic () |
T | operator+= (T x) |
T | operator-= (T x) |
T | operator|= (T x) |
T | operator&= (T x) |
T | operator^= (T x) |
bool | compareAndSwap (T oldVal, T newVal) |
operator T () const | |
Private Attributes | |
volatile T | m_Atom |
Friends | |
class | PerProcessorScheduler |
Wrapper around gcc's builtin atomic operations
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |