other versions
- jessie 3.16.56-1+deb8u1
other sections
SCHED_SETSCHEDULER(9) | Driver Basics | SCHED_SETSCHEDULER(9) |
NAME¶
sched_setscheduler - change the scheduling policy and/or RT priority of a thread.SYNOPSIS¶
int
sched_setscheduler(struct task_struct * p,
int policy,
const struct sched_param * param);
ARGUMENTS¶
pthe task in question.
policy
new policy.
param
structure containing the new RT priority.
RETURN¶
0 on success. An error code otherwise. NOTE that the task may be already dead.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |