1SCHED_SETSCHEDULER(9) Driver Basics SCHED_SETSCHEDULER(9)
23
4
NAME
6sched_setscheduler - change the scheduling policy and/or RT priority of
7a thread.
8
SYNOPSIS
10int sched_setscheduler(struct task_struct * p, int policy,
11struct sched_param * param);
12
ARGUMENTS
14p
15the task in question.
1617
policy
18new policy.
1920
param
21structure containing the new RT priority.
22
DESCRIPTION
24NOTE that the task may be already dead.
25
COPYRIGHT
27Kernel Hackers Manual 2.6. November 2011 SCHED_SETSCHEDULER(9)