nuttx/sched/semaphore
anjiahao af0eac7a9c sched/semaphore: Add debug assert to detect mutex recursion.
Add DEBUGASSERT in nxsem_wait_slow() to catch illegal mutex
recursion attempts. This helps identify bugs where a task tries
to lock a mutex it already holds, which is not allowed.

Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2026-02-03 11:56:24 -05:00
..
CMakeLists.txt
Make.defs
sem_clockwait.c pthread: move pthread_cond to userspace 2026-01-26 16:26:39 +08:00
sem_destroy.c
sem_holder.c
sem_initialize.c
sem_post.c sem_post.c: coverity HIS_metric_violation: RETURN 2026-01-28 13:04:11 -03:00
sem_protect.c
sem_recover.c
sem_reset.c coverity: HIS_metric_violation(HIS_CALLS) 2026-01-27 20:54:55 +08:00
sem_rw.c sem_rw.c: coverity: HIS_metric_violation(HIS_GOTO) 2026-02-03 14:49:04 +08:00
sem_setprotocol.c
sem_tickwait.c
sem_timedwait.c
sem_timeout.c
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: Add debug assert to detect mutex recursion. 2026-02-03 11:56:24 -05:00
sem_waitirq.c sem_waitirq.c: coverity HIS_metric_violation: RETURN 2026-01-28 23:43:16 +08:00
semaphore.h sched/semaphore: remove dead code if no CONFIG_PRIORITY_PROTEC 2026-01-27 14:29:33 -03:00