An atomic wrapper that provides sensible atomic behavior for most primative data types. More...
#include <Atomic.h>
Public Member Functions | |
GAtomic () | |
GAtomic (const T &v) | |
T & | operator= (const GAtomic &that) |
T & | operator= (const T &that) |
assign from underlying type | |
Private Types | |
typedef AtomicImpl::GAtomicBase< T, AtomicImpl::DummyWrapper > | Super_ty |
An atomic wrapper that provides sensible atomic behavior for most primative data types.
Operators return the value of type T so as to retain atomic RMW semantics.
typedef AtomicImpl::GAtomicBase<T, AtomicImpl::DummyWrapper> Galois::GAtomic< T >::Super_ty [private] |
Reimplemented from Galois::AtomicImpl::GAtomicBase< T, AtomicImpl::DummyWrapper >.
Galois::GAtomic< T >::GAtomic | ( | ) | [inline] |
Galois::GAtomic< T >::GAtomic | ( | const T & | v | ) | [inline, explicit] |
T& Galois::GAtomic< T >::operator= | ( | const T & | i | ) | [inline] |
assign from underlying type
Reimplemented from Galois::AtomicImpl::GAtomicBase< T, AtomicImpl::DummyWrapper >.
T& Galois::GAtomic< T >::operator= | ( | const GAtomic< T > & | that | ) | [inline] |