aboutsummaryrefslogtreecommitdiff
path: root/test/tsan/race_on_barrier.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/tsan/race_on_barrier.c')
-rw-r--r--test/tsan/race_on_barrier.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/tsan/race_on_barrier.c b/test/tsan/race_on_barrier.c
index cf8a4cb99274..66fd339eb95b 100644
--- a/test/tsan/race_on_barrier.c
+++ b/test/tsan/race_on_barrier.c
@@ -1,4 +1,8 @@
// RUN: %clang_tsan -O1 %s -o %t && %deflake %run %t | FileCheck %s
+
+// pthread barriers are not available on OS X
+// UNSUPPORTED: darwin
+
#include "test.h"
pthread_barrier_t B;