cpp20::atomic_internal
Summary
Typedefs
|
value_t
|
using
std::remove_volatile_t< T >
|
Functions
|
compare_exchange(T *ptr, value_t< T > & expected, value_t< T > desired, bool is_weak, std::memory_order success, std::memory_order failure)
|
LIB_STDCOMPAT_INLINE_LINKAGE bool
|
compare_exchange_load_memory_order(std::memory_order order)
|
LIB_STDCOMPAT_INLINE_LINKAGE constexpr std::memory_order
|
to_builtin_memory_order(std::memory_order order)
|
LIB_STDCOMPAT_INLINE_LINKAGE constexpr int
|
Typedefs
value_t
std::remove_volatile_t< T > value_t
Functions
compare_exchange
LIB_STDCOMPAT_INLINE_LINKAGE bool compare_exchange(
T *ptr,
value_t< T > & expected,
value_t< T > desired,
bool is_weak,
std::memory_order success,
std::memory_order failure
)
compare_exchange_load_memory_order
LIB_STDCOMPAT_INLINE_LINKAGE constexpr std::memory_order compare_exchange_load_memory_order(
std::memory_order order
)
to_builtin_memory_order
LIB_STDCOMPAT_INLINE_LINKAGE constexpr int to_builtin_memory_order(
std::memory_order order
)
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."],[],[]]