aboutsummaryrefslogtreecommitdiffstats
path: root/man3/pthread_setschedparam.3
diff options
context:
space:
mode:
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)