| 129 | static hash<void const volatile*> __libcpp_contention_hasher; |
| 130 | |
| 131 | static __libcpp_contention_table_entry* __libcpp_contention_state(void const volatile* p) { |
| 132 | return &__libcpp_contention_table[__libcpp_contention_hasher(p) & (__libcpp_contention_table_size - 1)]; |
| 133 | } |
| 134 | |
| 135 | /* Given an atomic to track contention and an atomic to actually wait on, which may be |
| 136 | the same atomic, we try to detect contention to avoid spuriously calling the platform. */ |
no outgoing calls
no test coverage detected