[libcxx-commits] [libcxx] [libc++] atomic timed wait (PR #172214)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Jan 16 10:29:55 PST 2026
================
@@ -299,7 +326,14 @@ _LIBCPP_EXPORTED_FROM_ABI void
__atomic_wait_global_table(void const* __location, __cxx_contention_t __old_value) noexcept {
auto const __entry = __get_global_contention_state(__location);
__contention_wait<sizeof(__cxx_atomic_contention_t)>(
- &__entry->__waiter_count, &__entry->__platform_state, &__old_value);
+ &__entry->__waiter_count, &__entry->__platform_state, &__old_value, 0);
+}
+
+_LIBCPP_AVAILABILITY_NEW_SYNC _LIBCPP_EXPORTED_FROM_ABI void __atomic_wait_global_table_with_timeout(
----------------
ldionne wrote:
We don't need availability annotations inside the `.cpp` files, only on the declaration of this function in the headers.
https://github.com/llvm/llvm-project/pull/172214
More information about the libcxx-commits
mailing list