载入中...
搜索中...
未找到
JobSystem.h 文件参考
#include <cstddef>
#include <functional>
#include <string>

浏览源代码.

class  eve::thread::Job
 Handle to a single job inside a JobSystem. 更多...
 
class  eve::thread::TaskGroup
 Fork/join group: fork() spawns scheduled children, wait() joins them. 更多...
 
class  eve::thread::JobSystem
 Abstract job scheduler: dependencies, parallel_for, task_group, arena. 更多...
 

命名空间

namespace  eve
 
namespace  eve::thread
 

类型定义

using eve::thread::JobFunc = std::function< void()>
 A unit of work executed by a JobSystem worker.
 
using eve::thread::ParallelForBody = std::function< void(int first, int last)>
 Body of a parallel_for subrange.
 

函数

JobSystemeve::thread::createJobSystem (int workerCount=0)
 Create a JobSystem with the configured backend.