mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 01:42:58 +08:00
fc4ab4fd94
1. The task which called nxsem_release_holder may not be a holder of the semaphore, counts of the holder would not be decreamented. This commit try to resolve the problem if there is only one holder. 2. Avoid counts overflow. Signed-off-by: Zeng Zhaoxiu <walker.zeng@transtekcorp.com>