summaryrefslogtreecommitdiff
path: root/test/tsan/custom_mutex1.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/tsan/custom_mutex1.cc')
-rw-r--r--test/tsan/custom_mutex1.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tsan/custom_mutex1.cc b/test/tsan/custom_mutex1.cc
index 06186515f6975..1c879f502f61f 100644
--- a/test/tsan/custom_mutex1.cc
+++ b/test/tsan/custom_mutex1.cc
@@ -3,7 +3,7 @@
// Test that failed TryLock does not induce parasitic synchronization.
-Mutex mu;
+Mutex mu(true, 0);
long data;
void *thr(void *arg) {