[PATCH] c-user: Define lower and higher priority

Joel Sherrill joel at rtems.org
Tue Sep 14 15:03:24 UTC 2021


The text looks ok. But there is duplication. Could the discussion of
classic vs posix priorities be in the definition of priority? And
referenced?

I assume it formats ok

On Tue, Sep 14, 2021, 9:04 AM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:

> ---
>  c-user/glossary.rst | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)
>
> diff --git a/c-user/glossary.rst b/c-user/glossary.rst
> index 16a8b8d..b0cf7df 100644
> --- a/c-user/glossary.rst
> +++ b/c-user/glossary.rst
> @@ -398,6 +398,17 @@ Glossary
>      heterogeneous
>          A multiprocessor computer system composed of dissimilar
> processors.
>
> +    higher priority
> +        A :term:`task` ``H`` has a higher priority than a task ``L``, if
> task ``H``
> +        is more important that task ``L``.  For example, priority based
> schedulers
> +        will only allocate processors to the highest priority tasks.  In
> +        :term:`RTEMS`, task priorities are represented by non-negative
> integers.
> +        For the Classic :term:`API`, if a numerical priority value ``R``
> is less
> +        than a numerical priority value ``S``, then ``R`` expresses a
> higher priority
> +        than ``S``.  For the :term:`POSIX` API, if a numerical priority
> value ``P``
> +        is greater than a numerical priority value ``Q``, then ``P``
> expresses a
> +        higher priority than ``Q``.
> +
>      home scheduler
>          The home scheduler of a :term:`task` is a :term:`scheduler` which
> is an
>          :term:`eligible scheduler` and which is assigned to the task
> during its
> @@ -498,6 +509,17 @@ Glossary
>          A multiprocessor configuration where shared memory is not used for
>          communication.
>
> +    lower priority
> +        A :term:`task` ``L`` has a lower priority than a task ``H``, if
> task ``L``
> +        is less important that task ``H``.  For example, priority based
> schedulers
> +        will only allocate processors to the highest priority tasks.  In
> +        :term:`RTEMS`, task priorities are represented by non-negative
> integers.
> +        For the Classic :term:`API`, if a numerical priority value ``R``
> is greater
> +        than a numerical priority value ``S``, then ``R`` expresses a
> lower priority
> +        than ``S``.  For the :term:`POSIX` API, if a numerical priority
> value ``P``
> +        is less than a numerical priority value ``Q``, then ``P``
> expresses a lower
> +        priority than ``Q``.
> +
>      major number
>          The index of a device driver in the Device Driver Table.
>
> --
> 2.31.1
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>


More information about the devel mailing list