diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-06-15 14:13:48 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-06-18 07:13:13 +0200 |
commit | 1f8301a97296178c772fcf42ae1d2e78b9ac40a8 (patch) | |
tree | f23afc9579df88b2e4b2f874643badfa83758a3c /c-user/barrier_manager.rst | |
parent | c-user: Use * for list items (diff) | |
download | rtems-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 '')
-rw-r--r-- | c-user/barrier_manager.rst | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/c-user/barrier_manager.rst b/c-user/barrier_manager.rst index dc50eb5..4438f9c 100644 --- a/c-user/barrier_manager.rst +++ b/c-user/barrier_manager.rst @@ -218,7 +218,8 @@ DESCRIPTION: the tasks waiting at the barrier unblocked. 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 following barrier attribute constants are defined by RTEMS: @@ -309,6 +310,9 @@ DESCRIPTION: barrier 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 barrier. The calling task will NOT be preempted if all of the tasks that are waiting |