#include <fallback.hpp>
Public Member Functions | |
bool | compare_exchange_strong (T &expected, T desired, memory_order2, memory_order2) volatile |
bool | compare_exchange_weak (T &expected, T desired, memory_order2 success_order, memory_order2 failure_order) volatile |
T | exchange (T replacement, memory_order2=memory_order2_seq_cst) volatile |
fallback_atomic (const T &t) | |
fallback_atomic (void) | |
bool | is_lock_free (void) const volatile |
T | load (memory_order2=memory_order2_seq_cst) volatileconst |
void | store (const T &t, memory_order2 order=memory_order2_seq_cst) volatile |
Protected Types | |
typedef T | integral_type |
Protected Attributes | |
T | i |
Definition at line 25 of file fallback.hpp.
typedef T boost_atomic::detail::atomic::fallback_atomic< T >::integral_type [protected] |
Reimplemented in boost_atomic::detail::atomic::platform_atomic< T, Size >, boost_atomic::detail::atomic::platform_atomic_integral< T, Size >, boost_atomic::detail::atomic::internal_atomic< T, Size, int >, boost_atomic::detail::atomic::platform_atomic< T >, boost_atomic::detail::atomic::platform_atomic_integral< uint32_t >, boost_atomic::detail::atomic::platform_atomic_integral< T >, boost_atomic::detail::atomic::platform_atomic_integral< uint8_t >, boost_atomic::detail::atomic::platform_atomic_integral< uint16_t >, boost_atomic::detail::atomic::platform_atomic_integral< uint64_t >, boost_atomic::detail::atomic::build_fetch_add< fallback_atomic< uint32_t > >, boost_atomic::detail::atomic::build_fetch_add< fallback_atomic< uint16_t > >, boost_atomic::detail::atomic::build_fetch_add< fallback_atomic< uint8_t > >, boost_atomic::detail::atomic::build_fetch_add< fallback_atomic< T > >, boost_atomic::detail::atomic::build_fetch_add< fallback_atomic< uint64_t > >, boost_atomic::detail::atomic::build_arithmeticops< build_fetch_add< fallback_atomic< T > > >, boost_atomic::detail::atomic::build_arithmeticops< build_fetch_add< fallback_atomic< uint64_t > > >, boost_atomic::detail::atomic::build_arithmeticops< build_fetch_add< fallback_atomic< uint32_t > > >, boost_atomic::detail::atomic::build_arithmeticops< build_fetch_add< fallback_atomic< uint16_t > > >, boost_atomic::detail::atomic::build_arithmeticops< build_fetch_add< fallback_atomic< uint8_t > > >, boost_atomic::detail::atomic::build_logicops< build_arithmeticops< build_fetch_add< fallback_atomic< T > > > >, boost_atomic::detail::atomic::build_logicops< build_arithmeticops< build_fetch_add< fallback_atomic< uint8_t > > > >, boost_atomic::detail::atomic::build_logicops< build_arithmeticops< build_fetch_add< fallback_atomic< uint32_t > > > >, boost_atomic::detail::atomic::build_logicops< build_arithmeticops< build_fetch_add< fallback_atomic< uint64_t > > > >, boost_atomic::detail::atomic::build_logicops< build_arithmeticops< build_fetch_add< fallback_atomic< uint16_t > > > >, boost_atomic::detail::atomic::build_atomic_from_exchange< fallback_atomic< uint32_t > >, boost_atomic::detail::atomic::build_atomic_from_exchange< fallback_atomic< uint16_t > >, boost_atomic::detail::atomic::build_atomic_from_exchange< fallback_atomic< uint8_t > >, boost_atomic::detail::atomic::build_atomic_from_exchange< fallback_atomic< T > >, and boost_atomic::detail::atomic::build_atomic_from_exchange< fallback_atomic< uint64_t > >.
Definition at line 76 of file fallback.hpp.
boost_atomic::detail::atomic::fallback_atomic< T >::fallback_atomic | ( | void | ) | [inline] |
Definition at line 27 of file fallback.hpp.
boost_atomic::detail::atomic::fallback_atomic< T >::fallback_atomic | ( | const T & | t | ) | [inline, explicit] |
Definition at line 28 of file fallback.hpp.
bool boost_atomic::detail::atomic::fallback_atomic< T >::compare_exchange_strong | ( | T & | expected, | |
T | desired, | |||
memory_order2 | , | |||
memory_order2 | ||||
) | volatile [inline] |
Reimplemented in boost_atomic::detail::atomic::internal_atomic< T, Size, void >.
Definition at line 42 of file fallback.hpp.
bool boost_atomic::detail::atomic::fallback_atomic< T >::compare_exchange_weak | ( | T & | expected, | |
T | desired, | |||
memory_order2 | success_order, | |||
memory_order2 | failure_order | |||
) | volatile [inline] |
Reimplemented in boost_atomic::detail::atomic::internal_atomic< T, Size, void >.
Definition at line 57 of file fallback.hpp.
T boost_atomic::detail::atomic::fallback_atomic< T >::exchange | ( | T | replacement, | |
memory_order2 | = memory_order2_seq_cst | |||
) | volatile [inline] |
Definition at line 65 of file fallback.hpp.
bool boost_atomic::detail::atomic::fallback_atomic< T >::is_lock_free | ( | void | ) | const volatile [inline] |
Definition at line 73 of file fallback.hpp.
T boost_atomic::detail::atomic::fallback_atomic< T >::load | ( | memory_order2 | = memory_order2_seq_cst |
) | const volatile [inline] |
Reimplemented in boost_atomic::detail::atomic::platform_atomic< T, 1 >, boost_atomic::detail::atomic::platform_atomic< T, 2 >, boost_atomic::detail::atomic::platform_atomic< T, 4 >, and boost_atomic::detail::atomic::platform_atomic< T, 8 >.
Definition at line 35 of file fallback.hpp.
void boost_atomic::detail::atomic::fallback_atomic< T >::store | ( | const T & | t, | |
memory_order2 | order = memory_order2_seq_cst | |||
) | volatile [inline] |
Definition at line 30 of file fallback.hpp.
T boost_atomic::detail::atomic::fallback_atomic< T >::i [protected] |
Definition at line 75 of file fallback.hpp.