mirror of
https://github.com/apache/nuttx.git
synced 2026-10-08 23:05:20 +00:00
This change consolidates multiple return statements in down_read_trylock() into a single exit point and replaces goto with if-else structure to reduce cyclomatic complexity and comply with MISRA HIS coding standards. 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 | ||