nuttx/sched/semaphore
hujun5 37ecb28eb1 semaphore/sem_trywait.c: Remove redundancy leave_critical_section
Remove redundant leave_critical_section() call in nxsem_trywait_slow() as the
critical section is properly released at the exit point via 'out' label, making
the intermediate call unnecessary and eliminating code duplication.

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2026-01-21 14:27:14 +08:00
..
CMakeLists.txt cmake:refine nuttx cmake build system fix CMake build missing part 2024-10-13 02:25:06 +08:00
Make.defs
sem_clockwait.c
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
sem_post.c sched/semaphore: add support to customize semaphore max allowed value 2025-09-04 09:48:34 +08:00
sem_protect.c
sem_recover.c Integrate nxmutex support fully into nxsem 2025-05-08 16:00:05 +08:00
sem_reset.c Integrate nxmutex support fully into nxsem 2025-05-08 16:00:05 +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
sem_tickwait.c clock: Add clock_delay2abstick. 2025-05-12 19:56:29 +08:00
sem_timedwait.c
sem_timeout.c
sem_trywait.c semaphore/sem_trywait.c: Remove redundancy leave_critical_section 2026-01-21 14:27:14 +08:00
sem_wait.c Integrate nxmutex support fully into nxsem 2025-05-08 16:00:05 +08: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 libc/semaphore: Move fast mutex wait/post paths to libc 2025-04-01 20:37:23 +08:00