c-user: Document rtems_task_set_scheduler() errors

This commit is contained in:
Sebastian Huber 2021-05-12 15:05:37 +02:00
parent dcd0085a0e
commit 7ded5943e4

View File

@ -1702,12 +1702,32 @@ This directive sets the :term:`home scheduler` to the scheduler specified by
``scheduler_id``. ``scheduler_id``.
:c:macro:`RTEMS_INVALID_PRIORITY` :c:macro:`RTEMS_INVALID_PRIORITY`
There task priority specified in ``priority`` was invalid with respect to The :term:`task priority` specified by ``priority`` was invalid with
the scheduler specified by ``scheduler_id``. respect to the scheduler specified by ``scheduler_id``.
:c:macro:`RTEMS_INVALID_ID` :c:macro:`RTEMS_INVALID_ID`
There was no task associated with the identifier specified by ``task_id``. There was no task associated with the identifier specified by ``task_id``.
:c:macro:`RTEMS_RESOURCE_IN_USE`
The task specified by ``task_id`` was enqueued on a :term:`wait queue`.
:c:macro:`RTEMS_RESOURCE_IN_USE`
The task specified by ``task_id`` had a :term:`current priority` which
consisted of more than the :term:`real priority`.
:c:macro:`RTEMS_RESOURCE_IN_USE`
The task specified by ``task_id`` had a :term:`helping scheduler`.
:c:macro:`RTEMS_RESOURCE_IN_USE`
The task specified by ``task_id`` was pinned.
:c:macro:`RTEMS_UNSATISFIED`
The scheduler specified by ``scheduler_id`` owned no processor.
:c:macro:`RTEMS_UNSATISFIED`
The scheduler specified by ``scheduler_id`` did not support the affinity
set of the task specified by ``task_id``.
:c:macro:`RTEMS_ILLEGAL_ON_REMOTE_OBJECT` :c:macro:`RTEMS_ILLEGAL_ON_REMOTE_OBJECT`
The task resided on a remote node. The task resided on a remote node.