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
//@normalize-stderr-test: "Verification took .*s" -> "Verification took [TIME]s"
4
3
5
4
// Test various features of the `std::sync::Mutex` API with GenMC.
6
-
// The test variants use a different number of iterations for the part that increments the counter protected by the mutex.
7
-
// More repetitions leads to more possible executions, representing all ways that the threads entering the critical sections can be ordered.
5
+
// Miri running with GenMC intercepts the Mutex functions `lock`, `try_lock` and `unlock`, instead of running their actual implementation.
6
+
// This interception should not break any functionality.
8
7
//
9
8
// 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.
10
9
//
11
10
// Miri provides annotations to GenMC for the condition required to unblock a thread blocked on a Mutex lock call.
12
-
// This allows massively reduces the number of blocked executions we need to explore (in this test to zero blocked execution).
13
-
// We use verbose output to test that there are no blocked executions, only completed executions.
11
+
// 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.
0 commit comments