[rtems-docs commit] c-user: Fix rtems_semaphore_release() docs

Sebastian Huber sebh at rtems.org
Wed Apr 7 05:13:23 UTC 2021


Module:    rtems-docs
Branch:    master
Commit:    241cd068d3e1539b37181a78cd0f6ce12b5e5309
Changeset: http://git.rtems.org/rtems-docs/commit/?id=241cd068d3e1539b37181a78cd0f6ce12b5e5309

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Apr  7 07:11:46 2021 +0200

c-user: Fix rtems_semaphore_release() docs

The directive returns RTEMS_UNSATISFIED if the semaphore's count already
had the maximum value of UINT32_MAX.

---

 c-user/semaphore/directives.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/c-user/semaphore/directives.rst b/c-user/semaphore/directives.rst
index 2d07e1c..54f40a4 100644
--- a/c-user/semaphore/directives.rst
+++ b/c-user/semaphore/directives.rst
@@ -651,7 +651,7 @@ wait queue is not empty, then
 :c:macro:`RTEMS_NOT_OWNER_OF_RESOURCE`
     The calling task was not the owner of the semaphore.
 
-:c:macro:`RTEMS_INTERNAL_ERROR`
+:c:macro:`RTEMS_UNSATISFIED`
     The semaphore's count already had the maximum value of `UINT32_MAX
     <https://en.cppreference.com/w/c/types/integer>`_.
 



More information about the vc mailing list