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

Unified Diff: src/platform/mutex.h

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/mutex.h
diff --git a/src/platform/mutex.h b/src/platform/mutex.h
index 9b359cb8e29b5d9f1194ccaa2441772f0dc06668..44fd18b440f08814e2894064c617f60da2b390b0 100644
--- a/src/platform/mutex.h
+++ b/src/platform/mutex.h
@@ -6,9 +6,9 @@
#define V8_PLATFORM_MUTEX_H_
#include "src/checks.h"
-#include "src/lazy-instance.h"
+#include "src/base/lazy-instance.h"
Jakob Kummerow 2014/06/05 11:49:06 nit: alpha-sort please
#if V8_OS_WIN
-#include "src/win32-headers.h"
+#include "src/base/win32-headers.h"
#endif
#if V8_OS_POSIX
@@ -101,9 +101,9 @@ class Mutex V8_FINAL {
// // Do something.
// }
//
-typedef LazyStaticInstance<Mutex,
- DefaultConstructTrait<Mutex>,
- ThreadSafeInitOnceTrait>::type LazyMutex;
+typedef v8::base::LazyStaticInstance<
+ Mutex, v8::base::DefaultConstructTrait<Mutex>,
+ v8::base::ThreadSafeInitOnceTrait>::type LazyMutex;
#define LAZY_MUTEX_INITIALIZER LAZY_STATIC_INSTANCE_INITIALIZER
@@ -182,9 +182,9 @@ class RecursiveMutex V8_FINAL {
// // Do something.
// }
//
-typedef LazyStaticInstance<RecursiveMutex,
- DefaultConstructTrait<RecursiveMutex>,
- ThreadSafeInitOnceTrait>::type LazyRecursiveMutex;
+typedef v8::base::LazyStaticInstance<
+ RecursiveMutex, v8::base::DefaultConstructTrait<RecursiveMutex>,
+ v8::base::ThreadSafeInitOnceTrait>::type LazyRecursiveMutex;
#define LAZY_RECURSIVE_MUTEX_INITIALIZER LAZY_STATIC_INSTANCE_INITIALIZER

Powered by Google App Engine
This is Rietveld 408576698