5 #ifndef V8_BASE_PLATFORM_CONDITION_VARIABLE_H_
6 #define V8_BASE_PLATFORM_CONDITION_VARIABLE_H_
15 class ConditionVariableEvent;
31 class ConditionVariable
FINAL {
72 void Post(Event* event,
bool result);
74 Mutex* mutex() {
return &mutex_; }
75 Event* waitlist() {
return waitlist_; }
87 return native_handle_;
90 return native_handle_;
114 #define LAZY_CONDITION_VARIABLE_INITIALIZER LAZY_STATIC_INSTANCE_INITIALIZER
Mutex::NativeHandle NativeHandle
NativeHandle native_handle_
const NativeHandle & native_handle() const
bool WaitFor(Mutex *mutex, const TimeDelta &rel_time) WARN_UNUSED_RESULT
DISALLOW_COPY_AND_ASSIGN(ConditionVariable)
NativeHandle & native_handle()
#define WARN_UNUSED_RESULT
enable harmony numeric enable harmony object literal extensions Optimize object Array DOM strings and string trace pretenuring decisions of HAllocate instructions Enables optimizations which favor memory size over execution speed maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining trace the tracking of allocation sites deoptimize every n garbage collections perform array bounds checks elimination analyze liveness of environment slots and zap dead values flushes the cache of optimized code for closures on every GC allow uint32 values on optimize frames if they are used only in safe operations track concurrent recompilation artificial compilation delay in ms do not emit check maps for constant values that have a leaf deoptimize the optimized code if the layout of the maps changes enable context specialization in TurboFan execution budget before interrupt is triggered max percentage of megamorphic generic ICs to allow optimization enable use of SAHF instruction if enable use of VFP3 instructions if available enable use of NEON instructions if enable use of SDIV and UDIV instructions if enable use of MLS instructions if enable loading bit constant by means of movw movt instruction enable unaligned accesses for enable use of d16 d31 registers on ARM this requires VFP3 force all emitted branches to be in long enable alignment of csp to bytes on platforms which prefer the register to always be NULL
#define DISALLOW_COPY_AND_ASSIGN(TypeName)
LazyStaticInstance< ConditionVariable, DefaultConstructTrait< ConditionVariable >, ThreadSafeInitOnceTrait >::type LazyConditionVariable
Debugger support for the V8 JavaScript engine.