summaryrefslogtreecommitdiffstats
path: root/c-user/dual_ports_memory_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/dual_ports_memory_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/dual_ports_memory_manager.rst')
-rw-r--r--c-user/dual_ports_memory_manager.rst8
1 files changed, 5 insertions, 3 deletions
diff --git a/c-user/dual_ports_memory_manager.rst b/c-user/dual_ports_memory_manager.rst
index 2c864ad..a8b7183 100644
--- a/c-user/dual_ports_memory_manager.rst
+++ b/c-user/dual_ports_memory_manager.rst
@@ -142,11 +142,12 @@ DESCRIPTION:
is not used to store the DPCB.
NOTES:
+ This directive may cause the calling task to be preempted due to an
+ obtain and release of the object allocator mutex.
+
The internal_address and external_address parameters must be on a four byte
boundary.
- This directive will not cause the calling task to be preempted.
-
.. raw:: latex
\clearpage
@@ -222,7 +223,8 @@ DESCRIPTION:
DPCB for the deleted dual-ported memory area is reclaimed by RTEMS.
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 calling task does not have to be the task that created the port. Any
local task that knows the port id can delete the port.