sched.7: Add nice(2), getpriority(2), and setpriority(2) to API list

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-11-28 07:03:26 +01:00
parent 57865ad728
commit 31046c3cbd
1 changed files with 12 additions and 0 deletions

View File

@ -42,6 +42,18 @@ Linux provides the following system calls for controlling
the CPU scheduling behavior, policy, and priority of processes
(or, more precisely, threads).
.TP
.BR nice (2)
Set a new nice value for the calling thread,
and return the new nice value.
.TP
.BR getpriority (2)
Return the nice value of a thread, a process group,
or the set of threads owned by a specified user.
.TP
.BR setpriority (2)
Set the nice value of a thread, a process group,
or the set of threads owned by a specified user.
.TP
.BR sched_setscheduler (2)
Set the scheduling policy and parameters of a specified thread.
.TP