v8  7.4.288(node12.0.0)
V8 is Google's open source JavaScript engine
libplatform.h File Reference
Include dependency graph for libplatform.h:

Go to the source code of this file.

Namespaces

 v8
 
 v8::platform
 

Enumerations

enum  IdleTaskSupport { kDisabled, kEnabled }
 
enum  InProcessStackDumping { kDisabled, kEnabled }
 
enum  MessageLoopBehavior : bool { kDoNotWait = false, kWaitForWork = true }
 

Functions

V8_PLATFORM_EXPORT std::unique_ptr< v8::PlatformNewDefaultPlatform (int thread_pool_size=0, IdleTaskSupport idle_task_support=IdleTaskSupport::kDisabled, InProcessStackDumping in_process_stack_dumping=InProcessStackDumping::kDisabled, std::unique_ptr< v8::TracingController > tracing_controller={})
 
V8_PLATFORM_EXPORT bool PumpMessageLoop (v8::Platform *platform, v8::Isolate *isolate, MessageLoopBehavior behavior=MessageLoopBehavior::kDoNotWait)
 
V8_PLATFORM_EXPORT void RunIdleTasks (v8::Platform *platform, v8::Isolate *isolate, double idle_time_in_seconds)
 
V8_PLATFORM_EXPORT V8_DEPRECATE_SOON ("Access the DefaultPlatform directly", void SetTracingController(v8::Platform *platform, v8::platform::tracing::TracingController *tracing_controller))