mirror of
https://github.com/apache/nuttx.git
synced 2026-02-06 12:42:21 +08:00
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>