SCHED_SETSCHEDULER

Section: Driver Basics (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

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

SYNOPSIS

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

ARGUMENTS

p

the task in question.

policy

new policy.

param

structure containing the new RT priority.
 

DESCRIPTION

NOTE that the task may be already dead.  

COPYRIGHT