summaryrefslogtreecommitdiff
path: root/test/tsan/must_deadlock.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/tsan/must_deadlock.cc')
-rw-r--r--test/tsan/must_deadlock.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/tsan/must_deadlock.cc b/test/tsan/must_deadlock.cc
index f6283f822..1409800e9 100644
--- a/test/tsan/must_deadlock.cc
+++ b/test/tsan/must_deadlock.cc
@@ -28,6 +28,7 @@ int main() {
pthread_mutex_init(&mu2, NULL);
pthread_barrier_init(&barrier, 0, 2);
+ fprintf(stderr, "This test is going to deadlock and die in 3 seconds\n");
alarm(3);
pthread_t t;