Changeset ac61465 in rtems-docs


Ignore:
Timestamp:
Feb 25, 2020, 6:52:19 AM (4 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
8bd4e6a
Parents:
e458fed
git-author:
Sebastian Huber <sebastian.huber@…> (02/25/20 06:52:19)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/02/20 07:15:59)
Message:

c-user: rtems_scheduler_map_priority_from_posix()

Close #3881.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c-user/scheduling_concepts.rst

    re458fed rac61465  
    3939
    4040- rtems_scheduler_map_priority_to_posix_ - Map task priority to POSIX thread
     41  prority
     42
     43- rtems_scheduler_map_priority_from_posix_ - Map POSIX thread priority to task
    4144  prority
    4245
     
    742745   \clearpage
    743746
     747.. _rtems_scheduler_map_priority_from_posix:
     748
     749SCHEDULER_MAP_PRIORITY_FROM_POSIX - Map POSIX thread prority to task priority
     750-----------------------------------------------------------------------------
     751
     752CALLING SEQUENCE:
     753    .. code-block:: c
     754
     755        rtems_status_code rtems_scheduler_map_priority_from_posix(
     756            rtems_id             scheduler_id,
     757            int                  posix_priority,
     758            rtems_task_priority *priority
     759        );
     760
     761DIRECTIVE STATUS CODES:
     762    .. list-table::
     763     :class: rtems-table
     764
     765     * - ``RTEMS_SUCCESSFUL``
     766       - Successful operation.
     767     * - ``RTEMS_INVALID_ADDRESS``
     768       - The ``priority`` parameter is ``NULL``.
     769     * - ``RTEMS_INVALID_ID``
     770       - Invalid scheduler instance identifier.
     771     * - ``RTEMS_INVALID_PRIORITY``
     772       - Invalid POSIX thread priority.
     773
     774DESCRIPTION:
     775    Maps a POSIX thread priority to the corresponding task priority.
     776
     777NOTES:
     778    None.
     779
     780.. raw:: latex
     781
     782   \clearpage
     783
    744784.. _rtems_scheduler_get_processor:
    745785
Note: See TracChangeset for help on using the changeset viewer.