From db290b36252b8fba596d24b89efde6a07efbc59c Mon Sep 17 00:00:00 2001 From: Brian Date: Sun, 29 Sep 2024 10:45:51 +0800 Subject: [PATCH] modify ddl group of rs skia thread Signed-off-by: Brian --- services/src/concurrent_task_controller.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/services/src/concurrent_task_controller.cpp b/services/src/concurrent_task_controller.cpp index a0b1e2f..97f291d 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) -- Gitee