1. NAME▲

sched_setscheduler - change the scheduling policy and/or RT priority of a thread.

2. SYNOPSIS ▲

int sched_setscheduler(struct task_struct *  p , int  policy , const struct sched_param *  param );

3. ARGUMENTS ▲

p
    the task in question.

policy
    new policy.

param
    structure containing the new RT priority.

4. DESCRIPTION ▲

NOTE that the task may be already dead.

5. COPYRIGHT ▲