Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1514)

Unified Diff: base/atomicops.h

Issue 10948035: Atomics implementation for compiler-based ThreadSanitizer (http://dev.chromium.org/developers/testi… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/atomicops_internals_tsan.h » ('j') | base/atomicops_internals_tsan.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/atomicops.h
===================================================================
--- base/atomicops.h (revision 158283)
+++ base/atomicops.h (working copy)
@@ -128,7 +128,9 @@
} // namespace base
// Include our platform specific implementation.
-#if defined(OS_WIN) && defined(COMPILER_MSVC) && defined(ARCH_CPU_X86_FAMILY)
+#if defined(THREAD_SANITIZER)
+#include "base/atomicops_internals_tsan.h"
+#elif defined(OS_WIN) && defined(COMPILER_MSVC) && defined(ARCH_CPU_X86_FAMILY)
#include "base/atomicops_internals_x86_msvc.h"
#elif defined(OS_MACOSX)
#include "base/atomicops_internals_mac.h"
« no previous file with comments | « no previous file | base/atomicops_internals_tsan.h » ('j') | base/atomicops_internals_tsan.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698