diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-01-27 07:58:48 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-01-27 07:58:48 +0100 |
commit | dc3ef53711642a5da323c286d1ff943a4d1a446b (patch) | |
tree | be7cbb46144952bc32cbba52f751e87a8214ac9d /c-user/region_manager.rst | |
parent | c-user: Fix region directive prototypes (diff) | |
download | rtems-docs-dc3ef53711642a5da323c286d1ff943a4d1a446b.tar.bz2 |
c-user: Region directives use the allocator mutex
Diffstat (limited to '')
-rw-r--r-- | c-user/region_manager.rst | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/c-user/region_manager.rst b/c-user/region_manager.rst index 8055153..8b17819 100644 --- a/c-user/region_manager.rst +++ b/c-user/region_manager.rst @@ -286,7 +286,8 @@ DESCRIPTION: equal to eight. NOTES: - This directive will not cause the calling task to be preempted. + This directive will obtain the allocator mutex and may cause the calling + task to be preempted. The following region attribute constants are defined by RTEMS: @@ -375,7 +376,8 @@ DESCRIPTION: deleted region is reclaimed by RTEMS. NOTES: - This directive will not cause the calling task to be preempted. + This directive will obtain the allocator mutex and may cause the calling + task to be preempted. The calling task does not have to be the task that created the region. Any local task that knows the region id can delete the region. @@ -419,7 +421,8 @@ DESCRIPTION: bytes to the region specified by id. NOTES: - This directive will not cause the calling task to be preempted. + This directive will obtain the allocator mutex and may cause the calling + task to be preempted. The calling task does not have to be the task that created the region. Any local task that knows the region id can extend the region. @@ -491,6 +494,9 @@ DESCRIPTION: then the calling task will wait forever. NOTES: + This directive will obtain the allocator mutex and may cause the calling + task to be preempted. + The actual length of the allocated segment may be larger than the requested size because a segment size is always a multiple of the region's page size. @@ -643,6 +649,9 @@ DESCRIPTION: unsatisfied. NOTES: + This directive will obtain the allocator mutex and may cause the calling + task to be preempted. + If an attempt to increase the size of a segment fails, then the application may want to allocate a new segment of the desired size, copy the contents of the original segment to the new, larger segment and then return the |