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
sched_setscheduler(3c) - opensolaris
sched_setscheduler(3) - linux
pthread_getschedparam(3) - redhat
sched_getscheduler(2) - freebsd
sched_setscheduler(3p) - posix
Similar Topics in the Unix Linux Community
error "Invalid argument" returned after call sched_setscheduler