mirror of
https://github.com/apache/nuttx.git
synced 2026-05-14 02:58:01 +08:00
223230a9ed
spinlock: add rspin_lock_count query interface Add rspin_lock_count() function to query the current recursion count of a recursive spinlock. This allows callers to inspect the lock state without modifying it, useful for debugging and diagnostics. Signed-off-by: hujun5 <hujun5@xiaomi.com>