YACLib
C++ library for concurrent tasks execution
|
#include <atomic.hpp>
Public Member Functions | |
T | operator= (T desired) noexcept |
T | operator= (T desired) volatile noexcept |
void | store (T desired, std::memory_order order=std::memory_order_seq_cst) noexcept |
void | store (T desired, std::memory_order order=std::memory_order_seq_cst) volatile noexcept |
T | load (std::memory_order order=std::memory_order_seq_cst) const noexcept |
T | load (std::memory_order order=std::memory_order_seq_cst) const volatile noexcept |
operator T () const noexcept | |
operator T () const volatile noexcept | |
T | exchange (T desired, std::memory_order order=std::memory_order_seq_cst) noexcept |
T | exchange (T desired, std::memory_order order=std::memory_order_seq_cst) volatile noexcept |
bool | compare_exchange_weak (T &expected, T desired, std::memory_order success, std::memory_order failure) noexcept |
bool | compare_exchange_weak (T &expected, T desired, std::memory_order success, std::memory_order failure) volatile noexcept |
bool | compare_exchange_weak (T &expected, T desired, std::memory_order order=std::memory_order_seq_cst) noexcept |
bool | compare_exchange_weak (T &expected, T desired, std::memory_order order=std::memory_order_seq_cst) volatile noexcept |
bool | compare_exchange_strong (T &expected, T desired, std::memory_order success, std::memory_order failure) noexcept |
bool | compare_exchange_strong (T &expected, T desired, std::memory_order success, std::memory_order failure) volatile noexcept |
bool | compare_exchange_strong (T &expected, T desired, std::memory_order order=std::memory_order_seq_cst) noexcept |
bool | compare_exchange_strong (T &expected, T desired, std::memory_order order=std::memory_order_seq_cst) volatile noexcept |
Definition at line 15 of file atomic.hpp.
|
inlinenoexcept |
Definition at line 108 of file atomic.hpp.
References yaclib::MakeContract(), and YACLIB_INJECT_FAULT.
|
inlinenoexcept |
Definition at line 112 of file atomic.hpp.
References yaclib::MakeContract(), and YACLIB_INJECT_FAULT.
|
inlinenoexcept |
Definition at line 99 of file atomic.hpp.
References yaclib::MakeContract(), and YACLIB_INJECT_FAULT.
|
inlinenoexcept |
Definition at line 103 of file atomic.hpp.
References yaclib::MakeContract(), and YACLIB_INJECT_FAULT.
|
inlinenoexcept |
Definition at line 82 of file atomic.hpp.
References yaclib::detail::AtomicBase< Impl, T >::load(), yaclib::MakeContract(), yaclib::detail::ShouldFailAtomicWeak(), and YACLIB_INJECT_FAULT.
|
inlinenoexcept |
Definition at line 90 of file atomic.hpp.
References yaclib::detail::AtomicBase< Impl, T >::load(), yaclib::MakeContract(), yaclib::detail::ShouldFailAtomicWeak(), and YACLIB_INJECT_FAULT.
|
inlinenoexcept |
Definition at line 65 of file atomic.hpp.
References yaclib::detail::AtomicBase< Impl, T >::load(), yaclib::MakeContract(), yaclib::detail::ShouldFailAtomicWeak(), and YACLIB_INJECT_FAULT.
|
inlinenoexcept |
Definition at line 73 of file atomic.hpp.
References yaclib::detail::AtomicBase< Impl, T >::load(), yaclib::MakeContract(), yaclib::detail::ShouldFailAtomicWeak(), and YACLIB_INJECT_FAULT.
|
inlinenoexcept |
Definition at line 56 of file atomic.hpp.
References yaclib::MakeContract(), and YACLIB_INJECT_FAULT.
|
inlinenoexcept |
Definition at line 60 of file atomic.hpp.
References yaclib::MakeContract(), and YACLIB_INJECT_FAULT.
|
inlinenoexcept |
Definition at line 39 of file atomic.hpp.
References yaclib::MakeContract(), and YACLIB_INJECT_FAULT.
Referenced by yaclib::detail::AtomicBase< Impl, T >::compare_exchange_weak(), yaclib::detail::AtomicBase< Impl, T >::compare_exchange_weak(), yaclib::detail::AtomicBase< Impl, T >::compare_exchange_weak(), yaclib::detail::AtomicBase< Impl, T >::compare_exchange_weak(), yaclib::detail::AtomicBase< Impl, T >::operator T(), and yaclib::detail::AtomicBase< Impl, T >::operator T().
|
inlinenoexcept |
Definition at line 43 of file atomic.hpp.
References yaclib::MakeContract(), and YACLIB_INJECT_FAULT.
|
inlinenoexcept |
Definition at line 48 of file atomic.hpp.
References yaclib::detail::AtomicBase< Impl, T >::load().
|
inlinenoexcept |
Definition at line 51 of file atomic.hpp.
References yaclib::detail::AtomicBase< Impl, T >::load().
|
inlinenoexcept |
Definition at line 23 of file atomic.hpp.
References yaclib::MakeContract(), and YACLIB_INJECT_FAULT.
|
inlinenoexcept |
Definition at line 27 of file atomic.hpp.
References yaclib::MakeContract(), and YACLIB_INJECT_FAULT.
|
inlinenoexcept |
Definition at line 32 of file atomic.hpp.
References yaclib::MakeContract(), and YACLIB_INJECT_FAULT.
|
inlinenoexcept |
Definition at line 35 of file atomic.hpp.
References yaclib::MakeContract(), and YACLIB_INJECT_FAULT.