Games Task Scheduler (GTS)
A multi-processor scheduling framework for games engines
|
Arithmetic atomic specialization. More...
#include <Atomic.h>
Inherits gts::AtomicArithmetic< T >.
Public Member Functions | |
Atomic (const Atomic &)=delete | |
Atomic & | operator= (const Atomic &)=delete |
Atomic & | operator= (const Atomic &) volatile=delete |
constexpr | Atomic (T val) |
Public Member Functions inherited from gts::AtomicArithmetic< T > | |
AtomicArithmetic (const AtomicArithmetic &)=delete | |
AtomicArithmetic & | operator= (const AtomicArithmetic &)=delete |
AtomicArithmetic & | operator= (const AtomicArithmetic &) volatile=delete |
constexpr | AtomicArithmetic (T val) |
T | fetch_add (T rhs, gts::memory_order order) |
T | fetch_sub (T rhs, gts::memory_order order) |
T | fetch_and (T rhs, gts::memory_order order) |
T | fetch_or (T rhs, gts::memory_order order) |
Public Member Functions inherited from gts::AtomicCommon< T > | |
AtomicCommon (const AtomicCommon &)=delete | |
AtomicCommon & | operator= (const AtomicCommon &)=delete |
AtomicCommon & | operator= (const AtomicCommon &) volatile=delete |
constexpr | AtomicCommon (T val) |
void | store (T value, gts::memory_order order) |
T | load (gts::memory_order order) const |
T | exchange (T value, gts::memory_order order) |
bool | compare_exchange_weak (T &expected, T value, gts::memory_order xchgOrder, gts::memory_order loadOrder) |
bool | compare_exchange_strong (T &expected, T value, gts::memory_order xchgOrder, gts::memory_order loadOrder) |
Additional Inherited Members | |
Protected Attributes inherited from gts::AtomicCommon< T > | |
GTS_ATOMIC_TYPE< T > | m_atom |
Arithmetic atomic specialization.