Searched refs:__contention_state (Results 1 – 1 of 1) sorted by relevance
/freebsd/contrib/llvm-project/libcxx/src/ |
H A D | atomic.cpp | 122 __cxx_atomic_contention_t __contention_state; member 124 inline constexpr __libcpp_contention_table_entry() : __contention_state(0), __platform_state(0) {} in __libcpp_contention_table_entry() 138 static void __libcpp_contention_notify(__cxx_atomic_contention_t volatile* __contention_state, in __libcpp_contention_notify() argument 141 if (0 != __cxx_atomic_load(__contention_state, memory_order_seq_cst)) in __libcpp_contention_notify() 151 static void __libcpp_contention_wait(__cxx_atomic_contention_t volatile* __contention_state, in __libcpp_contention_wait() argument 154 __cxx_atomic_fetch_add(__contention_state, __cxx_contention_t(1), memory_order_seq_cst); in __libcpp_contention_wait() 157 __cxx_atomic_fetch_sub(__contention_state, __cxx_contention_t(1), memory_order_release); in __libcpp_contention_wait() 168 &__entry->__contention_state, in __libcpp_atomic_notify() 180 …return __libcpp_contention_monitor_for_wait(&__entry->__contention_state, &__entry->__platform_sta… in __libcpp_atomic_monitor() 185 __libcpp_contention_wait(&__entry->__contention_state, &__entry->__platform_state, __old_value); in __libcpp_atomic_wait() [all …]
|