summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-05-12 15:05:37 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-05-12 21:07:00 +0200
commit7ded5943e4bf6bf5834a93fb55cb69cc5f218654 (patch)
tree495e13e7c3c5fd26a4ce7672ac4fe56c8d02737a
parentdcd0085a0eac04dececf98b18e5aa11705b5d9c1 (diff)
downloadrtems-docs-7ded5943e4bf6bf5834a93fb55cb69cc5f218654.tar.bz2
c-user: Document rtems_task_set_scheduler() errors
-rw-r--r--c-user/task/directives.rst24
1 files changed, 22 insertions, 2 deletions
diff --git a/c-user/task/directives.rst b/c-user/task/directives.rst
index 2bfb8af..aa90484 100644
--- a/c-user/task/directives.rst
+++ b/c-user/task/directives.rst
@@ -1702,12 +1702,32 @@ This directive sets the :term:`home scheduler` to the scheduler specified by
``scheduler_id``.
:c:macro:`RTEMS_INVALID_PRIORITY`
- There task priority specified in ``priority`` was invalid with respect to
- the scheduler specified by ``scheduler_id``.
+ The :term:`task priority` specified by ``priority`` was invalid with
+ respect to the scheduler specified by ``scheduler_id``.
:c:macro:`RTEMS_INVALID_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`
The task resided on a remote node.