centos man page for sched_setscheduler

Query: sched_setscheduler

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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
p the 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
Kernel Hackers Manual 3.10 June 2014 SCHED_SETSCHEDULER(9)
Related Man Pages
pthread_setschedparam(3c) - sunos
pthread_setschedparam(3) - redhat
sched_getscheduler(2) - debian
pthread_getschedparam(3c) - sunos
sched_setscheduler(2) - freebsd
Similar Topics in the Unix Linux Community
error "Invalid argument" returned after call sched_setscheduler