Lines Matching defs:CPUWorker
29 class CPUWorker : public WorkerThread {
31 CPUWorker(const QoS& qos, CpuWorkerOps&& ops) : WorkerThread(qos), ops(ops)
35 Start(CPUWorker::WrapDispatch, this);
37 Start(CPUWorker::Dispatch, this);
54 static void Dispatch(CPUWorker* worker);
55 static void Run(CPUEUTask* task, CPUWorker* worker);
57 static void RunTask(ffrt_executor_task_t* curtask, CPUWorker* worker);
58 static void RunTaskLifo(ffrt_executor_task_t* task, CPUWorker* worker);
59 static void* GetTask(CPUWorker* worker);
60 static PollerRet TryPoll(CPUWorker* worker, int timeout);
61 static bool LocalEmpty(CPUWorker* worker);