about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-03-04 09:00:42 +0100
committerRalf Jung <post@ralfj.de>2024-03-04 09:34:07 +0100
commitf70feaf604366c4e90e9d17ecd406fa182e54583 (patch)
tree3b3c7292653f7ab6473fcd1e35078673cd19a697 /src
parentd5f31bda4fe6223004f5942969c948e438b7ccc0 (diff)
downloadrust-f70feaf604366c4e90e9d17ecd406fa182e54583.tar.gz
rust-f70feaf604366c4e90e9d17ecd406fa182e54583.zip
linux-futex test: add comment
Diffstat (limited to 'src')
-rw-r--r--src/tools/miri/tests/pass-dep/concurrency/linux-futex.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/miri/tests/pass-dep/concurrency/linux-futex.rs b/src/tools/miri/tests/pass-dep/concurrency/linux-futex.rs
index 648c004c97c..d21f953672d 100644
--- a/src/tools/miri/tests/pass-dep/concurrency/linux-futex.rs
+++ b/src/tools/miri/tests/pass-dep/concurrency/linux-futex.rs
@@ -219,6 +219,7 @@ fn wait_wake_bitset() {
     t.join().unwrap();
 }
 
+// Crucial test which relies on the SeqCst fences in futex wait/wake.
 fn concurrent_wait_wake() {
     const FREE: i32 = 0;
     const HELD: i32 = 1;