nuttx/sched/semaphore
hujun5 49cb8e08e6 sem_trywait.c: coverity HIS_metric_violation(HIS_GOTO)
Refactor sem_trywait.c to replace goto statements with structured control
flow to comply with MISRA HIS coding standards. This improves code clarity
and maintainability while preserving all functional behavior and performance
characteristics.

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2026-01-27 14:29:33 -03:00
..
CMakeLists.txt cmake:refine nuttx cmake build system fix CMake build missing part 2024-10-13 02:25:06 +08:00
Make.defs sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
sem_clockwait.c pthread: move pthread_cond to userspace 2026-01-26 16:26:39 +08:00
sem_destroy.c Integrate nxmutex support fully into nxsem 2025-05-08 16:00:05 +08:00
sem_holder.c sched: unify Private Types banners 2025-05-28 10:17:15 +08:00
sem_initialize.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
sem_post.c sched/semaphore: remove dead code if no CONFIG_PRIORITY_PROTEC 2026-01-27 14:29:33 -03:00
sem_protect.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
sem_recover.c Integrate nxmutex support fully into nxsem 2025-05-08 16:00:05 +08:00
sem_reset.c coverity: HIS_metric_violation(HIS_CALLS) 2026-01-27 20:54:55 +08:00
sem_rw.c sched/sem_rw.c: Add downgrade_write API for sem_rw 2026-01-07 22:47:09 +08:00
sem_setprotocol.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
sem_tickwait.c clock: Add clock_delay2abstick. 2025-05-12 19:56:29 +08:00
sem_timedwait.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
sem_timeout.c sched: change xx_timeout param from pid to tcb 2024-09-29 18:18:01 +08:00
sem_trywait.c sem_trywait.c: coverity HIS_metric_violation(HIS_GOTO) 2026-01-27 14:29:33 -03:00
sem_wait.c sched/semaphore: remove dead code if no CONFIG_PRIORITY_PROTEC 2026-01-27 14:29:33 -03:00
sem_waitirq.c sched: After nxsched_add_readytorun, change first parameter to up_switch_context to this_task() 2025-08-20 10:16:43 +08:00
semaphore.h sched/semaphore: remove dead code if no CONFIG_PRIORITY_PROTEC 2026-01-27 14:29:33 -03:00