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

Unified Diff: src/platform-posix.cc

Issue 316133002: Move atomic ops and related files to base library (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: updates Created 6 years, 6 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
Index: src/platform-posix.cc
diff --git a/src/platform-posix.cc b/src/platform-posix.cc
index 03ba87db741c16a80441514fb8ff9691aa18136e..fe25b04db6101a29f09986f0501a979d71ae7e8f 100644
--- a/src/platform-posix.cc
+++ b/src/platform-posix.cc
@@ -599,7 +599,7 @@ static pthread_key_t LocalKeyToPthreadKey(Thread::LocalStorageKey local_key) {
#ifdef V8_FAST_TLS_SUPPORTED
-static Atomic32 tls_base_offset_initialized = 0;
+static base::Atomic32 tls_base_offset_initialized = 0;
Jakob Kummerow 2014/06/05 11:49:06 IWYU?
intptr_t kMacTlsBaseOffset = 0;
// It's safe to do the initialization more that once, but it has to be
@@ -635,7 +635,7 @@ static void InitializeTlsBaseOffset() {
kMacTlsBaseOffset = 0;
}
- Release_Store(&tls_base_offset_initialized, 1);
+ base::Release_Store(&tls_base_offset_initialized, 1);
}

Powered by Google App Engine
This is Rietveld 408576698