From 93e52865e28d062de12d3769d6bc75b5ade3f36c Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 8 Mar 2017 12:11:32 +0100 Subject: c-user: Add note to rtems_task_set_scheduler() --- c-user/task_manager.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'c-user/task_manager.rst') 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 -- cgit v1.2.3