nuttx/sched/misc
yushuailong 31f3857cb4 sched: Fix deadlock cycle collection.
Use Floyd cycle detection on the mutex wait-for chain so only threads that actually participate in a cycle are reported. This avoids omitting the last cycle member and incorrectly including threads that merely lead into a deadlock.

Also handle empty output buffers and document truncation semantics.

Assisted-by: OpenAI Codex
Signed-off-by: yushuailong <yyyusl@qq.com>
2026-10-01 23:19:43 +08:00
..
assert.c sched: avoid dumping raw memory at address 0 for tasks without kstack 2026-07-20 20:57:45 -03:00
CMakeLists.txt
coredump.c sched/misc/coredump.c: guard tcb->name in coredump 2026-07-10 05:04:13 +08:00
coredump.h
deadlock.c sched: Fix deadlock cycle collection. 2026-10-01 23:19:43 +08:00
Make.defs
panic_notifier.c spinlock: Fix compilation error with atomic.h. 2025-06-25 22:13:00 +08:00
reboot_notifier.c