You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/genmc/pass/shims/mutex_simple.rs
+16-23Lines changed: 16 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -5,11 +5,12 @@
5
5
// Miri running with GenMC intercepts the Mutex functions `lock`, `try_lock` and `unlock`, instead of running their actual implementation.
6
6
// This interception should not break any functionality.
7
7
//
8
+
// FIXME(genmc): Once GenMC supports mixed size accesses, add stack/heap allocated Mutexes to the test.
8
9
// FIXME(genmc): Once the actual implementation of mutexes can be used in GenMC mode and there is a setting to disable Mutex interception: Add test revision without interception.
9
10
//
10
11
// Miri provides annotations to GenMC for the condition required to unblock a thread blocked on a Mutex lock call.
11
12
// This massively reduces the number of blocked executions we need to explore (in this test we require zero blocked execution).
12
-
// We use verbose output to test that there are no blocked executions introduces by future changes, only completed executions.
13
+
// We use verbose output to check that this test always explores zero blocked executions.
0 commit comments