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

Unified Diff: src/platform/condition-variable.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
« no previous file with comments | « src/platform-win32.cc ('k') | src/platform/mutex.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/condition-variable.h
diff --git a/src/platform/condition-variable.h b/src/platform/condition-variable.h
index 5aa2361857a515eaa7b981c8ccd4f9b3caba5c76..4e8724cd27380279043a43f5c8267be04a727ed0 100644
--- a/src/platform/condition-variable.h
+++ b/src/platform/condition-variable.h
@@ -5,6 +5,7 @@
#ifndef V8_PLATFORM_CONDITION_VARIABLE_H_
#define V8_PLATFORM_CONDITION_VARIABLE_H_
+#include "src/base/lazy-instance.h"
#include "src/platform/mutex.h"
namespace v8 {
@@ -106,9 +107,9 @@ class ConditionVariable V8_FINAL {
// LockGuard<Mutex> lock_guard(&my_mutex);
// my_condvar.Pointer()->Wait(&my_mutex);
// }
-typedef LazyStaticInstance<ConditionVariable,
- DefaultConstructTrait<ConditionVariable>,
- ThreadSafeInitOnceTrait>::type LazyConditionVariable;
+typedef base::LazyStaticInstance<
+ ConditionVariable, base::DefaultConstructTrait<ConditionVariable>,
+ base::ThreadSafeInitOnceTrait>::type LazyConditionVariable;
#define LAZY_CONDITION_VARIABLE_INITIALIZER LAZY_STATIC_INSTANCE_INITIALIZER
« no previous file with comments | « src/platform-win32.cc ('k') | src/platform/mutex.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698