summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-05-12 15:09:35 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-05-12 21:04:47 +0200
commited93256ab464fc30438ec4d91e7ac3a5bd009da4 (patch)
treeedffe395835fe712b717ac823350469907ccc337
parentglossary: Add priority terms (diff)
downloadrtems-central-ed93256ab464fc30438ec4d91e7ac3a5bd009da4.tar.bz2
spec: Document rtems_task_set_scheduler() errors
-rw-r--r--spec/rtems/task/if/set-scheduler.yml28
1 files changed, 26 insertions, 2 deletions
diff --git a/spec/rtems/task/if/set-scheduler.yml b/spec/rtems/task/if/set-scheduler.yml
index 11c829d4..910e8abb 100644
--- a/spec/rtems/task/if/set-scheduler.yml
+++ b/spec/rtems/task/if/set-scheduler.yml
@@ -63,14 +63,38 @@ return:
${.:/params[1]/name}.
value: ${../../status/if/invalid-id:/name}
- description: |
- There task priority specified in ${.:/params[2]/name} was invalid with
- respect to the scheduler specified by ${.:/params[1]/name}.
+ The ${/glossary/priority-task:/term} specified by ${.:/params[2]/name}
+ was invalid with respect to the scheduler specified by
+ ${.:/params[1]/name}.
value: ${../../status/if/invalid-priority:/name}
- description: |
There was no task associated with the identifier specified by
${.:/params[0]/name}.
value: ${../../status/if/invalid-id:/name}
- description: |
+ The task specified by ${.:/params[0]/name} was enqueued on a
+ ${/glossary/waitqueue:/term}.
+ value: ${../../status/if/resource-in-use:/name}
+ - description: |
+ The task specified by ${.:/params[0]/name} had a
+ ${/glossary/priority-current:/term} which consisted of more than the
+ ${/glossary/priority-real:/term}.
+ value: ${../../status/if/resource-in-use:/name}
+ - description: |
+ The task specified by ${.:/params[0]/name} had a
+ ${/glossary/scheduler-helping:/term}.
+ value: ${../../status/if/resource-in-use:/name}
+ - description: |
+ The task specified by ${.:/params[0]/name} was pinned.
+ value: ${../../status/if/resource-in-use:/name}
+ - description: |
+ The scheduler specified by ${.:/params[1]/name} owned no processor.
+ value: ${../../status/if/unsatisfied:/name}
+ - description: |
+ The scheduler specified by ${.:/params[1]/name} did not support the
+ affinity set of the task specified by ${.:/params[0]/name}.
+ value: ${../../status/if/unsatisfied:/name}
+ - description: |
The task resided on a remote node.
value: ${../../status/if/illegal-on-remote-object:/name}
type: interface