[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/2] doc: fix the number of priorities
From: |
Samuel Thibault |
Subject: |
Re: [PATCH 1/2] doc: fix the number of priorities |
Date: |
Wed, 30 Apr 2014 13:17:24 +0200 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
Justus Winter, le Wed 30 Apr 2014 13:13:58 +0200, a écrit :
> The number of priorities has been changed from 32 to 50 in
> 6a234201081156e6d5742e7eeabb68418b518fad.
Ack.
> * doc/mach.texi: Update accordingly.
> ---
> doc/mach.texi | 6 +++---
> 1 file 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
> --
> 1.9.2
>
--
Samuel
<s> je la connaissais pas celle la : "make: Entering an unknown directory"
-+- #ens-mim -+-