#3636 closed enhancement (fixed)

Add rtems_scheduler_get_maximum_priority()

Reported by: Sebastian Huber Owned by: Sebastian Huber
Priority: normal Milestone: 5.1
Component: rtems Version: 5
Severity: normal Keywords:
Cc: Blocked By:


The maximum task priority depends on the scheduler instance. It is a configuration parameter. Add a function to get it at runtime.

 * @brief Gets the maximum task priority of the specified scheduler instance.
 * @param[in] scheduler_id Identifier of the scheduler instance.
 * @param[out] priority Pointer to a task priority value.
 * @retval RTEMS_SUCCESSFUL Successful operation.
 * @retval RTEMS_INVALID_ADDRESS The @a priority parameter is @c NULL.
 * @retval RTEMS_INVALID_ID Invalid scheduler instance identifier.
rtems_status_code rtems_scheduler_get_maximum_priority(
  rtems_id             scheduler_id,
  rtems_task_priority *priority

Change History (2)

comment:1 Changed on Dec 7, 2018 at 1:33:51 PM by Sebastian Huber <sebastian.huber@…>

In 7ee6437/rtems:

rtems: Add rtems_scheduler_get_maximum_priority()

Update #3636.

comment:2 Changed on Dec 10, 2018 at 8:20:21 AM by Sebastian Huber <sebastian.huber@…>

Resolution: fixed
Status: assignedclosed

In 16f33fd/rtems-docs:

c-user: rtems_scheduler_get_maximum_priority()

Close #3636.

Note: See TracTickets for help on using tickets.