mirror of
https://github.com/apache/nuttx.git
synced 2026-10-09 23:35:47 +00:00
Refactor sem_reset.c to reduce nested function call depth by consolidating internal helper functions and optimizing call chains. This addresses Coverity's HIS_metric_violation(HIS_CALLS) warning to comply with MISRA HIS coding standards for embedded systems safety and maintainability. Signed-off-by: hujun5 <hujun5@xiaomi.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Make.defs | ||
| sem_clockwait.c | ||
| sem_destroy.c | ||
| sem_holder.c | ||
| sem_initialize.c | ||
| sem_post.c | ||
| sem_protect.c | ||
| sem_recover.c | ||
| sem_reset.c | ||
| sem_rw.c | ||
| sem_setprotocol.c | ||
| sem_tickwait.c | ||
| sem_timedwait.c | ||
| sem_timeout.c | ||
| sem_trywait.c | ||
| sem_wait.c | ||
| sem_waitirq.c | ||
| semaphore.h | ||