aboutsummaryrefslogtreecommitdiff
path: root/test/tsan/race_on_barrier2.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/tsan/race_on_barrier2.c')
-rw-r--r--test/tsan/race_on_barrier2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/tsan/race_on_barrier2.c b/test/tsan/race_on_barrier2.c
index 98c028e19fdd..49adb6231230 100644
--- a/test/tsan/race_on_barrier2.c
+++ b/test/tsan/race_on_barrier2.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 <pthread.h>
#include <stdio.h>
#include <stddef.h>