aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2014-05-14 09:19:55 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2014-05-14 21:19:59 +0200
commit25ac81736e91dcb748c4dba5c512c9f0261e01db (patch)
treedc8aec8b80210bec16cd1f8a8569c4e8357d456a
parentedf9eec6beda34350af378bba6d0c1d431627867 (diff)
downloadman-pages-25ac81736e91dcb748c4dba5c512c9f0261e01db.tar.gz
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>
-rw-r--r--man3/pthread_attr_setinheritsched.34
-rw-r--r--man3/pthread_attr_setschedparam.36
-rw-r--r--man3/pthread_attr_setschedpolicy.36
-rw-r--r--man3/pthread_setaffinity_np.34
-rw-r--r--man3/pthread_setschedparam.310
-rw-r--r--man3/pthread_setschedprio.36
-rw-r--r--man3/pthread_yield.34
-rw-r--r--man7/pthreads.74
8 files changed, 21 insertions, 23 deletions
diff --git a/man3/pthread_attr_setinheritsched.3 b/man3/pthread_attr_setinheritsched.3
index c7607815e5..a3e0e28530 100644
--- a/man3/pthread_attr_setinheritsched.3
+++ b/man3/pthread_attr_setinheritsched.3
@@ -138,7 +138,6 @@ See
.SH SEE ALSO
.ad l
.nh
-.BR sched_setscheduler (2),
.BR pthread_attr_init (3),
.BR pthread_attr_setschedparam (3),
.BR pthread_attr_setschedpolicy (3),
@@ -146,4 +145,5 @@ See
.BR pthread_create (3),
.BR pthread_setschedparam (3),
.BR pthread_setschedprio (3),
-.BR pthreads (7)
+.BR pthreads ,(7)
+.BR sched (7)
diff --git a/man3/pthread_attr_setschedparam.3 b/man3/pthread_attr_setschedparam.3
index 49d1e4d14f..9a478e8c5b 100644
--- a/man3/pthread_attr_setschedparam.3
+++ b/man3/pthread_attr_setschedparam.3
@@ -70,7 +70,7 @@ struct sched_param {
As can be seen, only one scheduling parameter is supported.
For details of the permitted ranges for scheduling priorities
in each scheduling policy, see
-.BR sched_setscheduler (2).
+.BR sched (7).
In order for the parameter setting made by
.BR pthread_attr_setschedparam ()
@@ -117,11 +117,11 @@ See
.ad l
.nh
.BR sched_get_priority_min (2),
-.BR sched_setscheduler (2),
.BR pthread_attr_init (3),
.BR pthread_attr_setinheritsched (3),
.BR pthread_attr_setschedpolicy (3),
.BR pthread_create (3),
.BR pthread_setschedparam (3),
.BR pthread_setschedprio (3),
-.BR pthreads (7)
+.BR pthreads (7).
+.BR sched (7)
diff --git a/man3/pthread_attr_setschedpolicy.3 b/man3/pthread_attr_setschedpolicy.3
index 794aa92f4b..84b508a572 100644
--- a/man3/pthread_attr_setschedpolicy.3
+++ b/man3/pthread_attr_setschedpolicy.3
@@ -58,7 +58,7 @@ are
and
.BR SCHED_OTHER ,
with the semantics described in
-.BR sched_setscheduler (2).
+.BR sched (7).
.\" FIXME . pthread_setschedparam() places no restriction on the policy,
.\" but pthread_attr_setschedpolicy() restricts policy to RR/FIFO/OTHER
.\" http://sourceware.org/bugzilla/show_bug.cgi?id=7013
@@ -112,11 +112,11 @@ See
.SH SEE ALSO
.ad l
.nh
-.BR sched_setscheduler (2),
.BR pthread_attr_init (3),
.BR pthread_attr_setinheritsched (3),
.BR pthread_attr_setschedparam (3),
.BR pthread_create (3),
.BR pthread_setschedparam (3),
.BR pthread_setschedprio (3),
-.BR pthreads (7)
+.BR pthreads (7),
+.BR sched (7)
diff --git a/man3/pthread_setaffinity_np.3 b/man3/pthread_setaffinity_np.3
index 77800d9e84..6673187d26 100644
--- a/man3/pthread_setaffinity_np.3
+++ b/man3/pthread_setaffinity_np.3
@@ -205,9 +205,9 @@ main(int argc, char *argv[])
.fi
.SH SEE ALSO
.BR sched_setaffinity (2),
-.BR sched_setscheduler (2),
.BR pthread_attr_setaffinity_np (3),
.BR pthread_self (3),
.BR sched_getcpu (3),
.BR cpuset (7),
-.BR pthreads (7)
+.BR pthreads (7),
+.BR sched (7)
diff --git a/man3/pthread_setschedparam.3 b/man3/pthread_setschedparam.3
index 3e76008e54..8c5589339b 100644
--- a/man3/pthread_setschedparam.3
+++ b/man3/pthread_setschedparam.3
@@ -50,7 +50,7 @@ specifies the new scheduling policy for
The supported values for
.IR policy ,
and their semantics, are described in
-.BR sched_setscheduler (2).
+.BR sched (7).
.\" FIXME . pthread_setschedparam() places no restriction on the policy,
.\" but pthread_attr_setschedpolicy() restricts policy to RR/FIFO/OTHER
.\" 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.
For details of the permitted ranges for scheduling priorities
in each scheduling policy, see
-.BR sched_setscheduler (2).
+.BR sched (7).
The
.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,
and details of the permitted ranges for priorities
in each scheduling policy, see
-.BR sched_setscheduler (2).
+.BR sched (7).
.SH EXAMPLE
The program below demonstrates the use of
.BR pthread_setschedparam ()
@@ -433,7 +433,6 @@ main(int argc, char *argv[])
.nh
.BR getrlimit (2),
.BR sched_get_priority_min (2),
-.BR sched_setscheduler (2),
.BR pthread_attr_init (3),
.BR pthread_attr_setinheritsched (3),
.BR pthread_attr_setschedparam (3),
@@ -441,4 +440,5 @@ main(int argc, char *argv[])
.BR pthread_create (3),
.BR pthread_self (3),
.BR pthread_setschedprio (3),
-.BR pthreads (7)
+.BR pthreads (7),
+.BR sched (7)
diff --git a/man3/pthread_setschedprio.3 b/man3/pthread_setschedprio.3
index d06bf51504..6910f609eb 100644
--- a/man3/pthread_setschedprio.3
+++ b/man3/pthread_setschedprio.3
@@ -87,13 +87,12 @@ For a description of the permissions required to, and the effect of,
changing a thread's scheduling priority,
and details of the permitted ranges for priorities
in each scheduling policy, see
-.BR sched_setscheduler (2).
+.BR sched (7).
.SH SEE ALSO
.ad l
.nh
.BR getrlimit (2),
.BR sched_get_priority_min (2),
-.BR sched_setscheduler (2),
.BR pthread_attr_init (3),
.BR pthread_attr_setinheritsched (3),
.BR pthread_attr_setschedparam (3),
@@ -101,4 +100,5 @@ in each scheduling policy, see
.BR pthread_create (3),
.BR pthread_self (3),
.BR pthread_setschedparam (3),
-.BR pthreads (7)
+.BR pthreads (7),
+.BR sched (7)
diff --git a/man3/pthread_yield.3 b/man3/pthread_yield.3
index ef8f1715a4..ee81f23c54 100644
--- a/man3/pthread_yield.3
+++ b/man3/pthread_yield.3
@@ -65,6 +65,6 @@ instead.
On Linux, this function is implemented as a call to
.BR sched_yield (2).
.SH SEE ALSO
-.BR sched_setscheduler (2),
.BR sched_yield (2),
-.BR pthreads (7)
+.BR pthreads (7),
+.BR sched (7)
diff --git a/man7/pthreads.7 b/man7/pthreads.7
index 0c4c07bb37..0f232e86d1 100644
--- a/man7/pthreads.7
+++ b/man7/pthreads.7
@@ -97,9 +97,7 @@ alternate signal stack
.RB ( sigaltstack (2))
.IP \- 3
real-time scheduling policy and priority
-.RB ( sched_setscheduler (2)
-and
-.BR sched_setparam (2))
+.RB ( sched (7))
.PP
The following Linux-specific features are also per-thread:
.IP \- 3