#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] |
typedef detail::spinlock_pool<0>::scoped_lock boost::detail::atomic::base_atomic< T, C, Size, Sign >::guard_type [private] |
typedef base_atomic boost::detail::atomic::base_atomic< T, C, Size, Sign >::this_type [private] |
typedef T boost::detail::atomic::base_atomic< T, C, Size, Sign >::value_type [private] |
Reimplemented in boost::atomic< T >, and boost::atomic< bool >.
boost::detail::atomic::base_atomic< T, C, Size, Sign >::base_atomic | ( | void | ) | [inline] |
boost::detail::atomic::base_atomic< T, C, Size, Sign >::base_atomic | ( | const value_type & | v | ) | [inline, explicit] |
boost::detail::atomic::base_atomic< T, C, Size, Sign >::base_atomic | ( | const base_atomic< T, C, Size, Sign > & | ) | [private] |
bool boost::detail::atomic::base_atomic< T, C, Size, Sign >::compare_exchange_strong | ( | value_type & | expected, |
value_type | desired, | ||
memory_order | , | ||
memory_order | |||
) | volatile [inline] |
bool boost::detail::atomic::base_atomic< T, C, Size, Sign >::compare_exchange_weak | ( | value_type & | expected, |
value_type | desired, | ||
memory_order | success_order, | ||
memory_order | failure_order | ||
) | volatile [inline] |
value_type boost::detail::atomic::base_atomic< T, C, Size, Sign >::exchange | ( | value_type | v, |
memory_order | = memory_order_seq_cst |
||
) | volatile [inline] |
bool boost::detail::atomic::base_atomic< T, C, Size, Sign >::is_lock_free | ( | void | ) | const volatile [inline] |
value_type boost::detail::atomic::base_atomic< T, C, Size, Sign >::load | ( | memory_order | = memory_order_seq_cst | ) | const volatile [inline] |
void boost::detail::atomic::base_atomic< T, C, Size, Sign >::operator= | ( | const base_atomic< T, C, Size, Sign > & | ) | [private] |
void boost::detail::atomic::base_atomic< T, C, Size, Sign >::store | ( | value_type | v, |
memory_order | = memory_order_seq_cst |
||
) | volatile [inline] |
char boost::detail::atomic::base_atomic< T, C, Size, Sign >::v_[Size] [private] |