v8
7.4.288(node12.0.0)
V8 is Google's open source JavaScript engine
|
#include "libplatform/libplatform-export.h"
#include "libplatform/v8-tracing.h"
#include "v8-platform.h"
#include "v8config.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::Platform > | NewDefaultPlatform (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)) |