summaryrefslogtreecommitdiffstats
path: root/c-user/semaphore_manager.rst
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-06-15 14:13:48 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-06-18 07:13:13 +0200
commit1f8301a97296178c772fcf42ae1d2e78b9ac40a8 (patch)
treef23afc9579df88b2e4b2f874643badfa83758a3c /c-user/semaphore_manager.rst
parentc-user: Use * for list items (diff)
downloadrtems-docs-1f8301a97296178c772fcf42ae1d2e78b9ac40a8.tar.bz2
c-user: Mention possible preemptions
Mention that object create/delete may case the calling task to be preempted due to the object allocator mutex.
Diffstat (limited to 'c-user/semaphore_manager.rst')
-rw-r--r--c-user/semaphore_manager.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/c-user/semaphore_manager.rst b/c-user/semaphore_manager.rst
index 3e6008d..13058f3 100644
--- a/c-user/semaphore_manager.rst
+++ b/c-user/semaphore_manager.rst
@@ -376,7 +376,8 @@ DESCRIPTION:
are serviced in First In-First Out order.
NOTES:
- This directive will not cause the calling task to be preempted.
+ This directive may cause the calling task to be preempted due to an
+ obtain and release of the object allocator mutex.
The priority inheritance and priority ceiling algorithms are only supported
for local, binary semaphores that use the priority task wait queue blocking
@@ -523,6 +524,9 @@ DESCRIPTION:
this semaphore is reclaimed by RTEMS.
NOTES:
+ This directive may cause the calling task to be preempted due to an
+ obtain and release of the object allocator mutex.
+
The calling task will be preempted if it is enabled by the task's execution
mode and a higher priority local task is waiting on the deleted semaphore.
The calling task will NOT be preempted if all of the tasks that are waiting