blob: d7374a5b5dcfbe221f0f1e539da414b8f423d5ce (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- third_party/WebKit/Source/platform/wtf/Atomics.h.orig 2017-06-05 19:03:26 UTC
+++ third_party/WebKit/Source/platform/wtf/Atomics.h
@@ -176,7 +176,7 @@ ALWAYS_INLINE void AtomicSetOneToZero(int volatile* pt
#if defined(THREAD_SANITIZER)
// The definitions below assume an LP64 data model. This is fine because
// TSan is only supported on x86_64 Linux.
-#if CPU(64BIT) && OS(LINUX)
+#if CPU(64BIT) && (OS(LINUX) || OS(BSD))
ALWAYS_INLINE void ReleaseStore(volatile int* ptr, int value) {
__tsan_atomic32_store(ptr, value, __tsan_memory_order_release);
}
|