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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-27 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-27 UTC."],[],[]]