From bcf20381c56469ebc6bbeb3e72cd50a3c4df79b3 Mon Sep 17 00:00:00 2001 From: Tony Date: Wed, 18 Oct 2023 08:04:48 +0000 Subject: [PATCH] modify argument name Signed-off-by: Tony --- cgroup_sched/framework/process_group/include/sched_policy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgroup_sched/framework/process_group/include/sched_policy.h b/cgroup_sched/framework/process_group/include/sched_policy.h index 5da2793b..46ed6c4a 100644 --- a/cgroup_sched/framework/process_group/include/sched_policy.h +++ b/cgroup_sched/framework/process_group/include/sched_policy.h @@ -61,7 +61,7 @@ int SetThreadGroupSchedPolicy(int pid, int policy); * @param policy variable to accept return value. * @return Return value: 0 for success, or -errno for error. */ -int SetThreadSchedPolicy(int pid, int policy); +int SetThreadSchedPolicy(int tid, int policy); /** * Return the policy associated with the cgroup of thread tid via policy pointer. -- Gitee