![]() |
Realm
A distributed, event-based tasking library
|
#include <atomics.h>
Public Member Functions | |
| atomic (void) | |
| atomic (T _value) | |
| atomic (const atomic< T > ©_from) | |
| atomic< T > & | operator= (const atomic< T > ©_from) |
| T | load (void) const |
| T | load_acquire (void) const |
| T | load_fenced (void) const |
| void | store (T newval) |
| void | store_release (T newval) |
| T | exchange (T newval) |
| bool | compare_exchange (T &expected, T newval) |
| bool | compare_exchange_relaxed (T &expected, T newval) |
| bool | compare_exchange_weak (T &expected, T newval) |
| T | fetch_add (T to_add) |
| T | fetch_sub (T to_sub) |
| T | fetch_and (T to_and) |
| T | fetch_or (T to_or) |
| T | fetch_xor (T to_xor) |
| T | fetch_min (T to_min) |
| T | fetch_max (T to_max) |
| T | fetch_add_acqrel (T to_add) |
| T | fetch_sub_acqrel (T to_sub) |
| T | fetch_and_acqrel (T to_and) |
| T | fetch_or_acqrel (T to_or) |
| T | fetch_xor_acqrel (T to_xor) |
| T | fetch_min_acqrel (T to_min) |
| T | fetch_max_acqrel (T to_max) |
Protected Attributes | |
| std::atomic< T > | value |
| Realm::atomic< T >::atomic | ( | void | ) |
|
explicit |
| Realm::atomic< T >::atomic | ( | const atomic< T > & | copy_from | ) |
| bool Realm::atomic< T >::compare_exchange | ( | T & | expected, |
| T | newval | ||
| ) |
| bool Realm::atomic< T >::compare_exchange_relaxed | ( | T & | expected, |
| T | newval | ||
| ) |
| bool Realm::atomic< T >::compare_exchange_weak | ( | T & | expected, |
| T | newval | ||
| ) |
| T Realm::atomic< T >::exchange | ( | T | newval | ) |
| T Realm::atomic< T >::fetch_add | ( | T | to_add | ) |
| T Realm::atomic< T >::fetch_add_acqrel | ( | T | to_add | ) |
| T Realm::atomic< T >::fetch_and | ( | T | to_and | ) |
| T Realm::atomic< T >::fetch_and_acqrel | ( | T | to_and | ) |
| T Realm::atomic< T >::fetch_max | ( | T | to_max | ) |
| T Realm::atomic< T >::fetch_max_acqrel | ( | T | to_max | ) |
| T Realm::atomic< T >::fetch_min | ( | T | to_min | ) |
| T Realm::atomic< T >::fetch_min_acqrel | ( | T | to_min | ) |
| T Realm::atomic< T >::fetch_or | ( | T | to_or | ) |
| T Realm::atomic< T >::fetch_or_acqrel | ( | T | to_or | ) |
| T Realm::atomic< T >::fetch_sub | ( | T | to_sub | ) |
| T Realm::atomic< T >::fetch_sub_acqrel | ( | T | to_sub | ) |
| T Realm::atomic< T >::fetch_xor | ( | T | to_xor | ) |
| T Realm::atomic< T >::fetch_xor_acqrel | ( | T | to_xor | ) |
| T Realm::atomic< T >::load | ( | void | ) | const |
| T Realm::atomic< T >::load_acquire | ( | void | ) | const |
| T Realm::atomic< T >::load_fenced | ( | void | ) | const |
| atomic< T > & Realm::atomic< T >::operator= | ( | const atomic< T > & | copy_from | ) |
| void Realm::atomic< T >::store | ( | T | newval | ) |
| void Realm::atomic< T >::store_release | ( | T | newval | ) |
|
protected |