[all-commits] [llvm/llvm-project] 0d2621: [libc++] Make sure the test for compare-and-wait b...
Louis Dionne via All-commits
all-commits at lists.llvm.org
Fri Jul 12 12:00:35 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0d2621641ca54315dafe8f1aecda6b68db6aa5c8
https://github.com/llvm/llvm-project/commit/0d2621641ca54315dafe8f1aecda6b68db6aa5c8
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-07-12 (Fri, 12 Jul 2024)
Changed paths:
A libcxx/test/libcxx/atomics/atomics.syn/wait.issue_85107.pass.cpp
R libcxx/test/libcxx/atomics/atomics.syn/wait.pass.cpp
Log Message:
-----------
[libc++] Make sure the test for compare-and-wait bug doesn't hang forever (#97907)
This patch adds an explicit timeout mechanism in the compare-and-wait
test for std::atomic, ensuring that it doesn't run forever when the bug
is present. This is not an issue when we run inside the CI because we
specify a timeout manually, but it can be a problem when running
locally, for example.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list