Lines Matching defs:TaskSchedulerImpl
107 struct TaskSchedulerImpl struct
109 Array<thread*> threads;
110 Array<TaskQueue*> taskQueues;
111 atomic<uint32_t> idx{0};
113 TaskSchedulerImpl(uint32_t threadCnt) in TaskSchedulerImpl() function
127 ~TaskSchedulerImpl() in ~TaskSchedulerImpl()
141 void run(unsigned i) in run()
160 void request(Task* task) in request()
176 uint32_t threadCnt() in threadCnt()
186 struct TaskSchedulerImpl struct
188 TaskSchedulerImpl(TVG_UNUSED uint32_t threadCnt) {} in TaskSchedulerImpl() function
189 void request(Task* task) { task->run(0); } in request()
190 uint32_t threadCnt() { return 0; } in threadCnt()