diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2014-05-12 09:52:50 +0200 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2014-05-14 20:45:28 +0200 |
| commit | 1608b6714330dc83b58c499c72802e1848f29ee6 (patch) | |
| tree | 81f66488273ded54c5aedf80e2744145485f46ed /man7/sched.7 | |
| parent | 759e1210fc5e02825d6e0bc4c575a80d4c6e3a19 (diff) | |
| download | man-pages-1608b6714330dc83b58c499c72802e1848f29ee6.tar.gz | |
sched.7: sched_setattr(2) can also be used to set 'nice' value
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man7/sched.7')
| -rw-r--r-- | man7/sched.7 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/man7/sched.7 b/man7/sched.7 index a6d71b77b1..d9f175baec 100644 --- a/man7/sched.7 +++ b/man7/sched.7 @@ -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. |
