sched.7: sched_setattr(2) can also be used to set 'nice' value

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-05-12 09:52:50 +02:00
parent 759e1210fc
commit 1608b67143
1 changed files with 3 additions and 2 deletions

View File

@ -200,9 +200,10 @@ The thread to run is chosen from the static
priority 0 list based on a \fIdynamic\fP priority that is determined only
inside this list.
The dynamic priority is based on the nice value (set by
.BR nice (2)
.BR nice (2),
.BR setpriority (2),
or
.BR setpriority (2))
.BR sched_setattr (2))
and increased for each time quantum the thread is ready to run,
but denied to run by the scheduler.
This ensures fair progress among all \fBSCHED_OTHER\fP threads.