aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2014-05-11 06:57:12 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2014-05-14 20:45:28 +0200
commitab3d02453ddf806000bfbc423a81736e4e913284 (patch)
tree00134d9109b7db932136f830b0a7a9fa05b0be30
parent48ae5295f3599e003ad3885cd7a0a4eaf57801ab (diff)
downloadman-pages-ab3d02453ddf806000bfbc423a81736e4e913284.tar.gz
sched_setscheduler.2: wfix + tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/sched_setscheduler.26
1 files changed, 3 insertions, 3 deletions
diff --git a/man2/sched_setscheduler.2 b/man2/sched_setscheduler.2
index cbc1529483..331ebf7446 100644
--- a/man2/sched_setscheduler.2
+++ b/man2/sched_setscheduler.2
@@ -106,7 +106,7 @@ a round-robin policy.
For each of the above policies,
.IR param\->sched_priority
specifies a scheduling priority for the thread.
-This is a number on the range returned by calling
+This is a number in the range returned by calling
.BR sched_get_priority_min (2)
and
.BR sched_get_priority_min (2)
@@ -186,10 +186,10 @@ can be passed in the argument
.IR pid .
Specifying
.I pid
-as 0 will operate on the attribute for the calling thread,
+as 0 will operate on the attributes of the calling thread,
and passing the value returned from a call to
.BR getpid (2)
-will operate on the attribute for the main thread of the thread group.
+will operate on the attributes of the main thread of the thread group.
(If you are using the POSIX threads API, then use
.BR pthread_setschedparam (3),
.BR pthread_getschedparam (3),