diff --git a/services/src/concurrent_task_controller.cpp b/services/src/concurrent_task_controller.cpp index a0b1e2f0940ddc2181e97a82f59bee2355e816df..97f291d7a84d74d433a56e35b48b9a1b516005ac 100644 --- a/services/src/concurrent_task_controller.cpp +++ b/services/src/concurrent_task_controller.cpp @@ -287,7 +287,7 @@ void TaskController::QueryExecutorStart(int uid, int pid, IntervalReply& queryRs if (uid != RS_UID) { return; } - if (renderServiceMainGrpId_ < 0) { + if (renderServiceRenderGrpId_ < 0) { return; } std::lock_guard lock(executorStartLock_); @@ -297,13 +297,13 @@ void TaskController::QueryExecutorStart(int uid, int pid, IntervalReply& queryRs if (queryRs.tid <= 0) { return; } - int ret = AddThreadToRtg(queryRs.tid, renderServiceMainGrpId_, PRIO_RT); + int ret = AddThreadToRtg(queryRs.tid, renderServiceRenderGrpId_, PRIO_RT); if (ret < 0) { - CONCUR_LOGE("uid %{public}d tid %{public}d join executor group failed.", uid, renderServiceMainTid_); + CONCUR_LOGE("uid %{public}d tid %{public}d join executor group failed.", uid, renderServiceRenderGrpId_); return; } executorNum_++; - queryRs.rtgId = renderServiceMainGrpId_; + queryRs.rtgId = renderServiceRenderGrpId_; } void TaskController::QueryHwc(int uid, IntervalReply& queryRs)