Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Atomic integer. Provides sequential consistency. For a fine-grained memory order control, see AtomicOps. More...
#include <atomic.h>
Public Member Functions | |
Atomic (T val=0) | |
Initialize with given value. More... | |
T | exchange (T val) |
Atomic exchange. More... | |
bool | compare_exchange (T exp, T des) |
Atomic compare-and-swap. More... | |
T | fetch_or (T val) |
Atomic fetch-or. More... | |
T | fetch_and (T val) |
Atomic fetch-and. More... | |
T | fetch_xor (T val) |
Atomic fetch-xor. More... | |
operator T () const | |
Atomic load. More... | |
T | operator= (T val) |
Atomic store. More... | |
T | operator++ () |
Atomic increment (prefix). More... | |
T | operator++ (int) |
Atomic increment (postfix). More... | |
T | operator-- () |
Atomic decrement (prefix). More... | |
T | operator-- (int) |
Atomic decrement (postfix). More... | |
T | operator+= (T val) |
Atomic addition. More... | |
T | operator-= (T val) |
Atomic subtraction. More... | |
T | operator|= (T val) |
Atomic bitwise or. More... | |
T | operator&= (T val) |
Atomic bitwise and. More... | |
T | operator^= (T val) |
Atomic bitwise xor. More... | |
Atomic integer. Provides sequential consistency. For a fine-grained memory order control, see AtomicOps.
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |