[RTEMS Project] #3636: Add rtems_scheduler_get_maximum_priority()

RTEMS trac trac at rtems.org
Thu Dec 6 08:55:46 UTC 2018

#3636: Add rtems_scheduler_get_maximum_priority()
  Reporter:  Sebastian Huber  |      Owner:  Sebastian Huber
      Type:  enhancement      |     Status:  assigned
  Priority:  normal           |  Milestone:  5.1
 Component:  rtems            |    Version:  5
  Severity:  normal           |   Keywords:
Blocked By:                   |   Blocking:
 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
  * @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

Ticket URL: <http://devel.rtems.org/ticket/3636>
RTEMS Project <http://www.rtems.org/>
RTEMS Project

More information about the bugs mailing list