mirror of https://github.com/mkerrisk/man-pages
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:
parent
759e1210fc
commit
1608b67143
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue