mirror of https://github.com/mkerrisk/man-pages
pthread_attr_setinheritsched.3, pthread_attr_setschedparam.3, pthread_attr_setschedpolicy.3, pthread_setaffinity_np.3, pthread_setschedparam.3, pthread_setschedprio.3, pthread_yield.3, pthreads.7: Change references to "sched_setscheduler(2)" to "sched(7)"
Change consistent with the fact that the scheduling overview page is now sched(7) not sched_setscheduler(2). Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
edf9eec6be
commit
25ac81736e
|
@ -138,7 +138,6 @@ See
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.ad l
|
.ad l
|
||||||
.nh
|
.nh
|
||||||
.BR sched_setscheduler (2),
|
|
||||||
.BR pthread_attr_init (3),
|
.BR pthread_attr_init (3),
|
||||||
.BR pthread_attr_setschedparam (3),
|
.BR pthread_attr_setschedparam (3),
|
||||||
.BR pthread_attr_setschedpolicy (3),
|
.BR pthread_attr_setschedpolicy (3),
|
||||||
|
@ -146,4 +145,5 @@ See
|
||||||
.BR pthread_create (3),
|
.BR pthread_create (3),
|
||||||
.BR pthread_setschedparam (3),
|
.BR pthread_setschedparam (3),
|
||||||
.BR pthread_setschedprio (3),
|
.BR pthread_setschedprio (3),
|
||||||
.BR pthreads (7)
|
.BR pthreads ,(7)
|
||||||
|
.BR sched (7)
|
||||||
|
|
|
@ -70,7 +70,7 @@ struct sched_param {
|
||||||
As can be seen, only one scheduling parameter is supported.
|
As can be seen, only one scheduling parameter is supported.
|
||||||
For details of the permitted ranges for scheduling priorities
|
For details of the permitted ranges for scheduling priorities
|
||||||
in each scheduling policy, see
|
in each scheduling policy, see
|
||||||
.BR sched_setscheduler (2).
|
.BR sched (7).
|
||||||
|
|
||||||
In order for the parameter setting made by
|
In order for the parameter setting made by
|
||||||
.BR pthread_attr_setschedparam ()
|
.BR pthread_attr_setschedparam ()
|
||||||
|
@ -117,11 +117,11 @@ See
|
||||||
.ad l
|
.ad l
|
||||||
.nh
|
.nh
|
||||||
.BR sched_get_priority_min (2),
|
.BR sched_get_priority_min (2),
|
||||||
.BR sched_setscheduler (2),
|
|
||||||
.BR pthread_attr_init (3),
|
.BR pthread_attr_init (3),
|
||||||
.BR pthread_attr_setinheritsched (3),
|
.BR pthread_attr_setinheritsched (3),
|
||||||
.BR pthread_attr_setschedpolicy (3),
|
.BR pthread_attr_setschedpolicy (3),
|
||||||
.BR pthread_create (3),
|
.BR pthread_create (3),
|
||||||
.BR pthread_setschedparam (3),
|
.BR pthread_setschedparam (3),
|
||||||
.BR pthread_setschedprio (3),
|
.BR pthread_setschedprio (3),
|
||||||
.BR pthreads (7)
|
.BR pthreads (7).
|
||||||
|
.BR sched (7)
|
||||||
|
|
|
@ -58,7 +58,7 @@ are
|
||||||
and
|
and
|
||||||
.BR SCHED_OTHER ,
|
.BR SCHED_OTHER ,
|
||||||
with the semantics described in
|
with the semantics described in
|
||||||
.BR sched_setscheduler (2).
|
.BR sched (7).
|
||||||
.\" FIXME . pthread_setschedparam() places no restriction on the policy,
|
.\" FIXME . pthread_setschedparam() places no restriction on the policy,
|
||||||
.\" but pthread_attr_setschedpolicy() restricts policy to RR/FIFO/OTHER
|
.\" but pthread_attr_setschedpolicy() restricts policy to RR/FIFO/OTHER
|
||||||
.\" http://sourceware.org/bugzilla/show_bug.cgi?id=7013
|
.\" http://sourceware.org/bugzilla/show_bug.cgi?id=7013
|
||||||
|
@ -112,11 +112,11 @@ See
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.ad l
|
.ad l
|
||||||
.nh
|
.nh
|
||||||
.BR sched_setscheduler (2),
|
|
||||||
.BR pthread_attr_init (3),
|
.BR pthread_attr_init (3),
|
||||||
.BR pthread_attr_setinheritsched (3),
|
.BR pthread_attr_setinheritsched (3),
|
||||||
.BR pthread_attr_setschedparam (3),
|
.BR pthread_attr_setschedparam (3),
|
||||||
.BR pthread_create (3),
|
.BR pthread_create (3),
|
||||||
.BR pthread_setschedparam (3),
|
.BR pthread_setschedparam (3),
|
||||||
.BR pthread_setschedprio (3),
|
.BR pthread_setschedprio (3),
|
||||||
.BR pthreads (7)
|
.BR pthreads (7),
|
||||||
|
.BR sched (7)
|
||||||
|
|
|
@ -205,9 +205,9 @@ main(int argc, char *argv[])
|
||||||
.fi
|
.fi
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.BR sched_setaffinity (2),
|
.BR sched_setaffinity (2),
|
||||||
.BR sched_setscheduler (2),
|
|
||||||
.BR pthread_attr_setaffinity_np (3),
|
.BR pthread_attr_setaffinity_np (3),
|
||||||
.BR pthread_self (3),
|
.BR pthread_self (3),
|
||||||
.BR sched_getcpu (3),
|
.BR sched_getcpu (3),
|
||||||
.BR cpuset (7),
|
.BR cpuset (7),
|
||||||
.BR pthreads (7)
|
.BR pthreads (7),
|
||||||
|
.BR sched (7)
|
||||||
|
|
|
@ -50,7 +50,7 @@ specifies the new scheduling policy for
|
||||||
The supported values for
|
The supported values for
|
||||||
.IR policy ,
|
.IR policy ,
|
||||||
and their semantics, are described in
|
and their semantics, are described in
|
||||||
.BR sched_setscheduler (2).
|
.BR sched (7).
|
||||||
.\" FIXME . pthread_setschedparam() places no restriction on the policy,
|
.\" FIXME . pthread_setschedparam() places no restriction on the policy,
|
||||||
.\" but pthread_attr_setschedpolicy() restricts policy to RR/FIFO/OTHER
|
.\" but pthread_attr_setschedpolicy() restricts policy to RR/FIFO/OTHER
|
||||||
.\" http://sourceware.org/bugzilla/show_bug.cgi?id=7013
|
.\" http://sourceware.org/bugzilla/show_bug.cgi?id=7013
|
||||||
|
@ -72,7 +72,7 @@ struct sched_param {
|
||||||
As can be seen, only one scheduling parameter is supported.
|
As can be seen, only one scheduling parameter is supported.
|
||||||
For details of the permitted ranges for scheduling priorities
|
For details of the permitted ranges for scheduling priorities
|
||||||
in each scheduling policy, see
|
in each scheduling policy, see
|
||||||
.BR sched_setscheduler (2).
|
.BR sched (7).
|
||||||
|
|
||||||
The
|
The
|
||||||
.BR pthread_getschedparam ()
|
.BR pthread_getschedparam ()
|
||||||
|
@ -145,7 +145,7 @@ For a description of the permissions required to, and the effect of,
|
||||||
changing a thread's scheduling policy and priority,
|
changing a thread's scheduling policy and priority,
|
||||||
and details of the permitted ranges for priorities
|
and details of the permitted ranges for priorities
|
||||||
in each scheduling policy, see
|
in each scheduling policy, see
|
||||||
.BR sched_setscheduler (2).
|
.BR sched (7).
|
||||||
.SH EXAMPLE
|
.SH EXAMPLE
|
||||||
The program below demonstrates the use of
|
The program below demonstrates the use of
|
||||||
.BR pthread_setschedparam ()
|
.BR pthread_setschedparam ()
|
||||||
|
@ -433,7 +433,6 @@ main(int argc, char *argv[])
|
||||||
.nh
|
.nh
|
||||||
.BR getrlimit (2),
|
.BR getrlimit (2),
|
||||||
.BR sched_get_priority_min (2),
|
.BR sched_get_priority_min (2),
|
||||||
.BR sched_setscheduler (2),
|
|
||||||
.BR pthread_attr_init (3),
|
.BR pthread_attr_init (3),
|
||||||
.BR pthread_attr_setinheritsched (3),
|
.BR pthread_attr_setinheritsched (3),
|
||||||
.BR pthread_attr_setschedparam (3),
|
.BR pthread_attr_setschedparam (3),
|
||||||
|
@ -441,4 +440,5 @@ main(int argc, char *argv[])
|
||||||
.BR pthread_create (3),
|
.BR pthread_create (3),
|
||||||
.BR pthread_self (3),
|
.BR pthread_self (3),
|
||||||
.BR pthread_setschedprio (3),
|
.BR pthread_setschedprio (3),
|
||||||
.BR pthreads (7)
|
.BR pthreads (7),
|
||||||
|
.BR sched (7)
|
||||||
|
|
|
@ -87,13 +87,12 @@ For a description of the permissions required to, and the effect of,
|
||||||
changing a thread's scheduling priority,
|
changing a thread's scheduling priority,
|
||||||
and details of the permitted ranges for priorities
|
and details of the permitted ranges for priorities
|
||||||
in each scheduling policy, see
|
in each scheduling policy, see
|
||||||
.BR sched_setscheduler (2).
|
.BR sched (7).
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.ad l
|
.ad l
|
||||||
.nh
|
.nh
|
||||||
.BR getrlimit (2),
|
.BR getrlimit (2),
|
||||||
.BR sched_get_priority_min (2),
|
.BR sched_get_priority_min (2),
|
||||||
.BR sched_setscheduler (2),
|
|
||||||
.BR pthread_attr_init (3),
|
.BR pthread_attr_init (3),
|
||||||
.BR pthread_attr_setinheritsched (3),
|
.BR pthread_attr_setinheritsched (3),
|
||||||
.BR pthread_attr_setschedparam (3),
|
.BR pthread_attr_setschedparam (3),
|
||||||
|
@ -101,4 +100,5 @@ in each scheduling policy, see
|
||||||
.BR pthread_create (3),
|
.BR pthread_create (3),
|
||||||
.BR pthread_self (3),
|
.BR pthread_self (3),
|
||||||
.BR pthread_setschedparam (3),
|
.BR pthread_setschedparam (3),
|
||||||
.BR pthreads (7)
|
.BR pthreads (7),
|
||||||
|
.BR sched (7)
|
||||||
|
|
|
@ -65,6 +65,6 @@ instead.
|
||||||
On Linux, this function is implemented as a call to
|
On Linux, this function is implemented as a call to
|
||||||
.BR sched_yield (2).
|
.BR sched_yield (2).
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.BR sched_setscheduler (2),
|
|
||||||
.BR sched_yield (2),
|
.BR sched_yield (2),
|
||||||
.BR pthreads (7)
|
.BR pthreads (7),
|
||||||
|
.BR sched (7)
|
||||||
|
|
|
@ -97,9 +97,7 @@ alternate signal stack
|
||||||
.RB ( sigaltstack (2))
|
.RB ( sigaltstack (2))
|
||||||
.IP \- 3
|
.IP \- 3
|
||||||
real-time scheduling policy and priority
|
real-time scheduling policy and priority
|
||||||
.RB ( sched_setscheduler (2)
|
.RB ( sched (7))
|
||||||
and
|
|
||||||
.BR sched_setparam (2))
|
|
||||||
.PP
|
.PP
|
||||||
The following Linux-specific features are also per-thread:
|
The following Linux-specific features are also per-thread:
|
||||||
.IP \- 3
|
.IP \- 3
|
||||||
|
|
Loading…
Reference in New Issue