OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_PLATFORM_CONDITION_VARIABLE_H_ | 5 #ifndef V8_PLATFORM_CONDITION_VARIABLE_H_ |
6 #define V8_PLATFORM_CONDITION_VARIABLE_H_ | 6 #define V8_PLATFORM_CONDITION_VARIABLE_H_ |
7 | 7 |
8 #include "platform/mutex.h" | 8 #include "src/platform/mutex.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
11 namespace internal { | 11 namespace internal { |
12 | 12 |
13 // Forward declarations. | 13 // Forward declarations. |
14 class ConditionVariableEvent; | 14 class ConditionVariableEvent; |
15 class TimeDelta; | 15 class TimeDelta; |
16 | 16 |
17 // ----------------------------------------------------------------------------- | 17 // ----------------------------------------------------------------------------- |
18 // ConditionVariable | 18 // ConditionVariable |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 // } | 108 // } |
109 typedef LazyStaticInstance<ConditionVariable, | 109 typedef LazyStaticInstance<ConditionVariable, |
110 DefaultConstructTrait<ConditionVariable>, | 110 DefaultConstructTrait<ConditionVariable>, |
111 ThreadSafeInitOnceTrait>::type LazyConditionVariable; | 111 ThreadSafeInitOnceTrait>::type LazyConditionVariable; |
112 | 112 |
113 #define LAZY_CONDITION_VARIABLE_INITIALIZER LAZY_STATIC_INSTANCE_INITIALIZER | 113 #define LAZY_CONDITION_VARIABLE_INITIALIZER LAZY_STATIC_INSTANCE_INITIALIZER |
114 | 114 |
115 } } // namespace v8::internal | 115 } } // namespace v8::internal |
116 | 116 |
117 #endif // V8_PLATFORM_CONDITION_VARIABLE_H_ | 117 #endif // V8_PLATFORM_CONDITION_VARIABLE_H_ |
OLD | NEW |