summaryrefslogtreecommitdiffstats
path: root/man3/pthread_setschedparam.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/pthread_setschedparam.3')
-rw-r--r--man3/pthread_setschedparam.340
1 files changed, 20 insertions, 20 deletions
diff --git a/man3/pthread_setschedparam.3 b/man3/pthread_setschedparam.3
index 0bc45ccd5..a2a6241d0 100644
--- a/man3/pthread_setschedparam.3
+++ b/man3/pthread_setschedparam.3
@@ -32,7 +32,7 @@ specifies the new scheduling policy for
The supported values for
.IR policy ,
and their semantics, are described in
-.BR sched (7).
+.MR 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
@@ -54,7 +54,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 (7).
+.MR sched 7 .
.P
The
.BR pthread_getschedparam ()
@@ -67,17 +67,17 @@ and
respectively.
The returned priority value is that set by the most recent
.BR pthread_setschedparam (),
-.BR pthread_setschedprio (3),
+.MR pthread_setschedprio 3 ,
or
-.BR pthread_create (3)
+.MR pthread_create 3
call that affected
.IR thread .
The returned priority does not reflect any temporary priority adjustments
as a result of calls to any priority inheritance or
priority ceiling functions (see, for example,
-.BR pthread_mutexattr_setprioceiling (3)
+.MR pthread_mutexattr_setprioceiling 3
and
-.BR pthread_mutexattr_setprotocol (3)).
+.MR pthread_mutexattr_setprotocol 3 ).
.\" FIXME . nptl/pthread_setschedparam.c has the following
.\" /* If the thread should have higher priority because of some
.\" PTHREAD_PRIO_PROTECT mutexes it holds, adjust the priority. */
@@ -120,7 +120,7 @@ to an unsupported value") error for
.BR pthread_setschedparam ().
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
-.BR attributes (7).
+.MR attributes 7 .
.TS
allbox;
lbx lb lb
@@ -143,7 +143,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 (7).
+.MR sched 7 .
.SH EXAMPLES
The program below demonstrates the use of
.BR pthread_setschedparam ()
@@ -160,7 +160,7 @@ a scheduling policy attribute of
.B SCHED_RR
and a scheduling priority attribute of 20.
The program then sets (using
-.BR pthread_attr_setinheritsched (3))
+.MR pthread_attr_setinheritsched 3 )
the inherit scheduler attribute of the thread attributes object to
.BR PTHREAD_EXPLICIT_SCHED ,
meaning that threads created using this attributes object should
@@ -435,14 +435,14 @@ main(int argc, char *argv[])
.SH SEE ALSO
.ad l
.nh
-.BR getrlimit (2),
-.BR sched_get_priority_min (2),
-.BR pthread_attr_init (3),
-.BR pthread_attr_setinheritsched (3),
-.BR pthread_attr_setschedparam (3),
-.BR pthread_attr_setschedpolicy (3),
-.BR pthread_create (3),
-.BR pthread_self (3),
-.BR pthread_setschedprio (3),
-.BR pthreads (7),
-.BR sched (7)
+.MR getrlimit 2 ,
+.MR sched_get_priority_min 2 ,
+.MR pthread_attr_init 3 ,
+.MR pthread_attr_setinheritsched 3 ,
+.MR pthread_attr_setschedparam 3 ,
+.MR pthread_attr_setschedpolicy 3 ,
+.MR pthread_create 3 ,
+.MR pthread_self 3 ,
+.MR pthread_setschedprio 3 ,
+.MR pthreads 7 ,
+.MR sched 7