aboutsummaryrefslogtreecommitdiffstats
path: root/man3/pthread_setschedparam.3
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 /man3/pthread_setschedparam.3
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>
Diffstat (limited to 'man3/pthread_setschedparam.3')
-rw-r--r--man3/pthread_setschedparam.310
1 files changed, 5 insertions, 5 deletions
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)