summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-04-30 12:31:09 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-04-30 12:31:09 +0200
commit1a9af211b3f0fb93611e6795ce66576b2ab230c8 (patch)
tree33388afe78e0ae60e1e2672483a5f23acdc9fc88 /doc
parentb28e05e203e0739fa5db59c5af378b29eea7a232 (diff)
doc: fix the number of priorities
The number of priorities has been changed from 32 to 50 in 6a234201081156e6d5742e7eeabb68418b518fad. * doc/mach.texi: Update accordingly.
Diffstat (limited to 'doc')
-rw-r--r--doc/mach.texi6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/mach.texi b/doc/mach.texi
index d089224..49c0d67 100644
--- a/doc/mach.texi
+++ b/doc/mach.texi
@@ -4557,7 +4557,7 @@ their priority from their task and their max priority from the thread.
@deftypefun kern_return_t thread_priority (@w{thread_t @var{thread}}, @w{int @var{prority}}, @w{boolean_t @var{set_max}})
The function @code{thread_priority} changes the priority and optionally
-the maximum priority of @var{thread}. Priorities range from 0 to 31,
+the maximum priority of @var{thread}. Priorities range from 0 to 49,
where lower numbers denote higher priorities. If the new priority is
higher than the priority of the current thread, preemption may occur as
a result of this call. The maximum priority of the thread is also set
@@ -4568,7 +4568,7 @@ priority.
The functions returns @code{KERN_SUCCESS} if the operation completed
successfully, @code{KERN_INVALID_ARGUMENT} if @var{thread} is not a
-thread or @var{priority} is out of range (not in 0..31), and
+thread or @var{priority} is out of range (not in 0..49), and
@code{KERN_FAILURE} if the requested operation would violate the
thread's maximum priority (thread_priority).
@end deftypefun
@@ -4582,7 +4582,7 @@ legal value.
The functions returns @code{KERN_SUCCESS} if the operation completed
successfully, @code{KERN_INVALID_ARGUMENT} if @var{thread} is not a
thread or @var{processor_set} is not a control port for a processor set
-or @var{priority} is out of range (not in 0..31), and
+or @var{priority} is out of range (not in 0..49), and
@code{KERN_FAILURE} if the thread is not assigned to the processor set
whose control port was presented.
@end deftypefun