[libcxx-commits] [libcxx] [libc++] Fix `std::atomic::wait` ulock wait UL_COMPARE_AND_WAIT64 (PR #92783)
via libcxx-commits
libcxx-commits at lists.llvm.org
Wed May 29 11:47:22 PDT 2024
================
@@ -69,17 +69,17 @@ extern "C" int __ulock_wait(
uint32_t operation, void* addr, uint64_t value, uint32_t timeout); /* timeout is specified in microseconds */
extern "C" int __ulock_wake(uint32_t operation, void* addr, uint64_t wake_value);
-# define UL_COMPARE_AND_WAIT 1
+# define UL_COMPARE_AND_WAIT64 5
----------------
EricWF wrote:
Thank you.
Could you add that link as a comment in the source for the next reader who has to go on the hunt for it?
https://github.com/llvm/llvm-project/pull/92783
More information about the libcxx-commits
mailing list