summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-03-08 12:11:32 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-03-08 12:11:32 +0100
commit93e52865e28d062de12d3769d6bc75b5ade3f36c (patch)
tree2f205402d53f8ddda4c93efe61b21d213e9623b1
parent9260c986ce53cc2d69edf443c24a2fc5f0570f33 (diff)
downloadrtems-docs-93e52865e28d062de12d3769d6bc75b5ade3f36c.tar.bz2
c-user: Add note to rtems_task_set_scheduler()
-rw-r--r--c-user/task_manager.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/c-user/task_manager.rst b/c-user/task_manager.rst
index 0ac61b4..511d48b 100644
--- a/c-user/task_manager.rst
+++ b/c-user/task_manager.rst
@@ -1464,7 +1464,9 @@ DESCRIPTION:
to ``priority``.
NOTES:
- None.
+ It is recommended to set the scheduler of a task before it is started or in
+ case it is guaranteed that the task owns no resources. Otherwise, sporadic
+ ``RTEMS_RESOURCE_IN_USE`` errors may occur.
EXAMPLE:
.. code-block:: c