Loading...
Searching...
No Matches
Namespaces | Enumerations | Functions
libplatform.h File Reference
#include <memory>
#include "libplatform/libplatform-export.h"
#include "libplatform/v8-tracing.h"
#include "v8-platform.h"
#include "v8config.h"
Include dependency graph for libplatform.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  v8
 
namespace  v8::platform
 

Enumerations

enum class  v8::platform::IdleTaskSupport { v8::platform::kDisabled , v8::platform::kEnabled }
 
enum class  v8::platform::InProcessStackDumping { v8::platform::kDisabled , v8::platform::kEnabled }
 
enum class  v8::platform::MessageLoopBehavior : bool { v8::platform::kDoNotWait = false , v8::platform::kWaitForWork = true }
 
enum class  v8::platform::PriorityMode : bool { v8::platform::kDontApply , v8::platform::kApply }
 

Functions

std::unique_ptr< v8::Platformv8::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={}, PriorityMode priority_mode=PriorityMode::kDontApply)
 
std::unique_ptr< v8::Platformv8::platform::NewSingleThreadedDefaultPlatform (IdleTaskSupport idle_task_support=IdleTaskSupport::kDisabled, InProcessStackDumping in_process_stack_dumping=InProcessStackDumping::kDisabled, std::unique_ptr< v8::TracingController > tracing_controller={})
 
std::unique_ptr< v8::JobHandlev8::platform::NewDefaultJobHandle (v8::Platform *platform, v8::TaskPriority priority, std::unique_ptr< v8::JobTask > job_task, size_t num_worker_threads)
 
bool v8::platform::PumpMessageLoop (v8::Platform *platform, v8::Isolate *isolate, MessageLoopBehavior behavior=MessageLoopBehavior::kDoNotWait)
 
void v8::platform::RunIdleTasks (v8::Platform *platform, v8::Isolate *isolate, double idle_time_in_seconds)
 
void v8::platform::NotifyIsolateShutdown (v8::Platform *platform, Isolate *isolate)