From 241cd068d3e1539b37181a78cd0f6ce12b5e5309 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 7 Apr 2021 07:11:46 +0200 Subject: 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 `_. -- cgit v1.2.3