5 #ifndef INCLUDE_CPPGC_DEFAULT_PLATFORM_H_
6 #define INCLUDE_CPPGC_DEFAULT_PLATFORM_H_
12 #include "cppgc/platform.h"
26 DefaultTaskRunner&
operator=(
const DefaultTaskRunner&) =
delete;
43 std::vector<std::unique_ptr<
cppgc::Task>> tasks_;
44 std::vector<std::unique_ptr<
cppgc::IdleTask>> idle_tasks_;
62 cppgc::TaskPriority priority,
63 std::unique_ptr<
cppgc::JobTask> job_task)
final;
69 std::unique_ptr<PageAllocator> page_allocator_;
70 std::shared_ptr<DefaultTaskRunner> foreground_task_runner_;
71 std::vector<std::shared_ptr<std::thread>> job_threads_;