mirror of
https://git.rtems.org/rtems-docs/
synced 2025-05-14 12:29:37 +08:00
c-user: Add note to rtems_task_set_scheduler()
This commit is contained in:
parent
9260c986ce
commit
93e52865e2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user