mirror of https://github.com/mkerrisk/man-pages
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:
parent
225d97f29e
commit
77dab50a68
16
man7/sched.7
16
man7/sched.7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue