cpp20::atomic_internal::atomic_ops

Summary

Public functions

compare_exchange_strong(T & expected, T desired, std::memory_order success) const noexcept
LIB_STDCOMPAT_INLINE_LINKAGE bool
compare_exchange_strong(T & expected, T desired, std::memory_order success, std::memory_order failure) const noexcept
LIB_STDCOMPAT_INLINE_LINKAGE bool
compare_exchange_weak(T & expected, T desired, std::memory_order success) const noexcept
LIB_STDCOMPAT_INLINE_LINKAGE bool
compare_exchange_weak(T & expected, T desired, std::memory_order success, std::memory_order failure) const noexcept
LIB_STDCOMPAT_INLINE_LINKAGE bool
exchange(T desired, std::memory_order order) const noexcept
LIB_STDCOMPAT_INLINE_LINKAGE T
load(std::memory_order order) const noexcept
LIB_STDCOMPAT_INLINE_LINKAGE T
operator T() const noexcept
LIB_STDCOMPAT_INLINE_LINKAGE
store(T desired, std::memory_order order) const noexcept
LIB_STDCOMPAT_INLINE_LINKAGE void

Public functions

compare_exchange_strong

LIB_STDCOMPAT_INLINE_LINKAGE bool compare_exchange_strong(
  T & expected,
  T desired,
  std::memory_order success
) const noexcept

compare_exchange_strong

LIB_STDCOMPAT_INLINE_LINKAGE bool compare_exchange_strong(
  T & expected,
  T desired,
  std::memory_order success,
  std::memory_order failure
) const noexcept

compare_exchange_weak

LIB_STDCOMPAT_INLINE_LINKAGE bool compare_exchange_weak(
  T & expected,
  T desired,
  std::memory_order success
) const noexcept

compare_exchange_weak

LIB_STDCOMPAT_INLINE_LINKAGE bool compare_exchange_weak(
  T & expected,
  T desired,
  std::memory_order success,
  std::memory_order failure
) const noexcept

exchange

LIB_STDCOMPAT_INLINE_LINKAGE T exchange(
  T desired,
  std::memory_order order
) const noexcept

load

LIB_STDCOMPAT_INLINE_LINKAGE T load(
  std::memory_order order
) const noexcept

operator T

LIB_STDCOMPAT_INLINE_LINKAGE operator T() const noexcept

store

LIB_STDCOMPAT_INLINE_LINKAGE void store(
  T desired,
  std::memory_order order
) const noexcept