Lines Matching defs:__contention_state
122 __cxx_atomic_contention_t __contention_state;
124 inline constexpr __libcpp_contention_table_entry() : __contention_state(0), __platform_state(0) {}
138 static void __libcpp_contention_notify(__cxx_atomic_contention_t volatile* __contention_state,
141 if (0 != __cxx_atomic_load(__contention_state, memory_order_seq_cst))
146 __libcpp_contention_monitor_for_wait(__cxx_atomic_contention_t volatile* /*__contention_state*/,
151 static void __libcpp_contention_wait(__cxx_atomic_contention_t volatile* __contention_state,
154 __cxx_atomic_fetch_add(__contention_state, __cxx_contention_t(1), memory_order_seq_cst);
157 __cxx_atomic_fetch_sub(__contention_state, __cxx_contention_t(1), memory_order_release);
168 &__entry->__contention_state,
180 return __libcpp_contention_monitor_for_wait(&__entry->__contention_state, &__entry->__platform_state);
185 __libcpp_contention_wait(&__entry->__contention_state, &__entry->__platform_state, __old_value);
192 __libcpp_contention_notify(&__libcpp_contention_state(__location)->__contention_state, __location, true);
195 __libcpp_contention_notify(&__libcpp_contention_state(__location)->__contention_state, __location, false);
200 return __libcpp_contention_monitor_for_wait(&__libcpp_contention_state(__location)->__contention_state, __location);
204 __libcpp_contention_wait(&__libcpp_contention_state(__location)->__contention_state, __location, __old_value);