sched.7: Rework summary text describing sched_setattr(2) and sched_getattr(2)

Note that these APIs are a superset of sched_setscheduler(2)
and sched_getscheduler(2).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-05-12 09:21:37 +02:00
parent 225d97f29e
commit 77dab50a68
1 changed files with 10 additions and 6 deletions

View File

@ -69,14 +69,18 @@ Set the CPU affinity of a specified thread.
Get the CPU affinity of a specified thread.
.TP
.BR sched_setattr (2)
(Linux-specific)
A generalized API for setting the scheduling policy and parameters
of a specified thread.
Set the scheduling policy and parameters of a specified thread.
This (Linux-specific) system call provides a superset of the functionality of
.BR sched_setscheduler (2)
and
.BR sched_setparam (2).
.TP
.BR sched_getattr (2)
(Linux-specific)
A generalized API for fetching the scheduling policy and parameters
of a specified thread.
Fetch the scheduling policy and parameters of a specified thread.
This (Linux-specific) system call provides a superset of the functionality of
.BR sched_getscheduler (2)
and
.BR sched_getparam (2).
.\"
.SS Scheduling policies
The scheduler is the kernel component that decides which runnable thread