v8  6.2.414 (node 8.16.2)
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 class  IdleTaskSupport { kDisabled , kEnabled }
 
enum class  InProcessStackDumping { kDisabled , kEnabled }
 
enum class  MessageLoopBehavior : bool { kDoNotWait = false , kWaitForWork = true }
 

Functions

V8_PLATFORM_EXPORT v8::PlatformCreateDefaultPlatform (int thread_pool_size=0, IdleTaskSupport idle_task_support=IdleTaskSupport::kDisabled, InProcessStackDumping in_process_stack_dumping=InProcessStackDumping::kEnabled, v8::TracingController *tracing_controller=nullptr)
 
V8_PLATFORM_EXPORT bool PumpMessageLoop (v8::Platform *platform, v8::Isolate *isolate, MessageLoopBehavior behavior=MessageLoopBehavior::kDoNotWait)
 
V8_PLATFORM_EXPORT void EnsureEventLoopInitialized (v8::Platform *platform, v8::Isolate *isolate)
 
V8_PLATFORM_EXPORT void RunIdleTasks (v8::Platform *platform, v8::Isolate *isolate, double idle_time_in_seconds)
 
V8_PLATFORM_EXPORT void SetTracingController (v8::Platform *platform, v8::platform::tracing::TracingController *tracing_controller)