28 #ifndef V8_PLATFORM_CONDITION_VARIABLE_H_
29 #define V8_PLATFORM_CONDITION_VARIABLE_H_
37 class ConditionVariableEvent;
72 void Wait(Mutex* mutex);
85 typedef pthread_cond_t NativeHandle;
90 NativeHandle() : waitlist_(
NULL), freelist_(
NULL) {}
94 void Post(Event* event,
bool result);
96 Mutex* mutex() {
return &mutex_; }
97 Event* waitlist() {
return waitlist_; }
109 return native_handle_;
112 return native_handle_;
116 NativeHandle native_handle_;
132 typedef LazyStaticInstance<ConditionVariable,
133 DefaultConstructTrait<ConditionVariable>,
136 #define LAZY_CONDITION_VARIABLE_INITIALIZER LAZY_STATIC_INSTANCE_INITIALIZER
140 #endif // V8_PLATFORM_CONDITION_VARIABLE_H_
enable upcoming ES6 features enable harmony block scoping enable harmony enable harmony proxies enable harmony generators enable harmony numeric enable harmony string enable harmony math functions harmony_scoping harmony_symbols harmony_collections harmony_iteration harmony_strings harmony_scoping harmony_maths tracks arrays with only smi values Optimize object Array DOM strings and string pretenure call new trace pretenuring decisions of HAllocate instructions track fields with only smi values track fields with heap values track_fields track_fields Enables optimizations which favor memory size over execution speed use string slices optimization filter maximum number of GVN fix point iterations use function inlining use allocation folding eliminate write barriers targeting allocations in optimized code maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining crankshaft harvests type feedback from stub cache trace check elimination phase hydrogen tracing filter NULL
NativeHandle & native_handle()
LazyStaticInstance< ConditionVariable, DefaultConstructTrait< ConditionVariable >, ThreadSafeInitOnceTrait >::type LazyConditionVariable
Mutex::NativeHandle NativeHandle
#define DISALLOW_COPY_AND_ASSIGN(TypeName)
const NativeHandle & native_handle() const
#define V8_WARN_UNUSED_RESULT