载入中...
搜索中...
未找到
JobSystemThreadPool.h
浏览该文件的文档.
std::vector< ecs::EntityHandle > schedule
The round's activation queue, resolved against the target battle.
Definition TacticsPersistence.cpp:170
Default JobSystem backend: a dependency-aware scheduler over the existing ThreadPool worker pool.
Definition JobSystemThreadPool.h:24
Job * parallelFor(int first, int last, ParallelForBody body, int chunk=1) override
Parallel for.
Definition JobSystemThreadPool.cpp:622
JobSystemThreadPool & operator=(const JobSystemThreadPool &)=delete
Job * parallelForFrame(int first, int last, ParallelForBody body, int chunk=1) override
Parallel for frame.
Definition JobSystemThreadPool.cpp:648
JobSystemThreadPool(const JobSystemThreadPool &)=delete
int getPendingCount() const override
Returns the pending count.
Definition JobSystemThreadPool.cpp:581
int getOutstandingCount() const override
Returns the outstanding count.
Definition JobSystemThreadPool.cpp:586
TaskGroup * createFrameTaskGroup() override
Creates frame task group.
Definition JobSystemThreadPool.cpp:652
~JobSystemThreadPool() override
Releases JobSystemThreadPool resources.
Definition JobSystemThreadPool.cpp:542
Abstract job scheduler: dependencies, parallel_for, task_group, arena.
Definition JobSystem.h:157
Fork/join group: fork() spawns scheduled children, wait() joins them.
Definition JobSystem.h:109
std::function< void(int first, int last)> ParallelForBody
Body of a parallel_for subrange.
Definition JobSystem.h:24
std::function< void()> JobFunc
A unit of work executed by a JobSystem worker.
Definition JobSystem.h:17