Home
last modified time | relevance | path

Searched refs:__contention_state (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/libcxx/src/
H A Datomic.cpp95 __cxx_atomic_contention_t __contention_state; member
98 __contention_state(0), __platform_state(0) { } in __libcpp_contention_table_entry()
113 static void __libcpp_contention_notify(__cxx_atomic_contention_t volatile* __contention_state, in __libcpp_contention_notify() argument
117 if(0 != __cxx_atomic_load(__contention_state, memory_order_seq_cst)) in __libcpp_contention_notify()
127 static void __libcpp_contention_wait(__cxx_atomic_contention_t volatile* __contention_state, in __libcpp_contention_wait() argument
131 __cxx_atomic_fetch_add(__contention_state, __cxx_contention_t(1), memory_order_seq_cst); in __libcpp_contention_wait()
134 __cxx_atomic_fetch_sub(__contention_state, __cxx_contention_t(1), memory_order_release); in __libcpp_contention_wait()
145 __libcpp_contention_notify(&__entry->__contention_state, in __libcpp_atomic_notify()
159 …return __libcpp_contention_monitor_for_wait(&__entry->__contention_state, &__entry->__platform_sta… in __libcpp_atomic_monitor()
165 __libcpp_contention_wait(&__entry->__contention_state, &__entry->__platform_state, __old_value); in __libcpp_atomic_wait()
[all …]