#include <base.hpp>
Public Member Functions | |
base_atomic (void) | |
base_atomic (const value_type &v) | |
bool | compare_exchange_strong (value_type &expected, value_type desired, memory_order, memory_order) volatile |
bool | compare_exchange_weak (value_type &expected, value_type desired, memory_order success_order, memory_order failure_order) volatile |
value_type | exchange (value_type v, memory_order=memory_order_seq_cst) volatile |
bool | is_lock_free (void) const volatile |
value_type | load (memory_order=memory_order_seq_cst) volatileconst |
void | store (value_type v, memory_order=memory_order_seq_cst) volatile |
Private Types | |
typedef detail::spinlock_pool< 0 >::scoped_lock | guard_type |
typedef base_atomic | this_type |
typedef T | value_type |
Private Member Functions | |
base_atomic (const base_atomic &) | |
void | operator= (const base_atomic &) |
Private Attributes | |
char | v_ [Size] |
|
private |
|
private |
|
private |
|
inline |
|
inlineexplicit |
|
private |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
inline |
|
private |