Lines Matching defs:task
45 ffrt_executor_task_t* task = reinterpret_cast<ffrt_executor_task_t*>(reinterpret_cast<char*>(node) -
47 uintptr_t taskType = task->type;
50 FFRT_EXECUTOR_TASK_READY_MARKER(task); // uv/io task ready to enque
84 bool FFRTScheduler::WakeupTask(CPUEUTask* task)
86 FFRT_COND_DO_ERR((task == nullptr), return false, "task is nullptr");
88 int qosLevel = task->qos();
90 FFRT_LOGE("qos inhert not support wake up task[%lu], type[%d], name[%s]",
91 task->gid, task->type, task->label.c_str());
97 uint64_t gid = task->gid;
98 bool notifyWorker = task->notifyWorker_;
99 std::string label = task->label;
101 FFRT_READY_MARKER(gid); // ffrt normal task ready to enque
104 fifoQue[static_cast<unsigned short>(level)]->WakeupTask(task);
108 // The ownership of the task belongs to ReadyTaskQueue, and the task cannot be accessed any more.
109 FFRT_LOGD("qos[%d] task[%lu] entered q", level, gid);
111 FFRT_LOGW("qos [%d], task [%s] entered q, task count [%d] exceeds threshold.",