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 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 sem_post.c: coverity HIS_metric_violation: RETURN 2026-01-28 13:04:11 -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 sem_rw.c: coverity: HIS_metric_violation(HIS_GOTO) 2026-02-03 14:49:04 +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: 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