nuttx/sched/irq
yushuailong 36c0dce6d1 sched/irq: Cancel queued work before detaching worked IRQs.
Remove pending IRQ work before clearing its callback state, and guard the
worker callback against a concurrent detach.  This prevents detached worked
IRQs from invoking a NULL function pointer.

Assisted-by: OpenAI Codex
Signed-off-by: yushuailong <yyyusl@qq.com>
2026-09-16 00:02:45 +08:00
..
CMakeLists.txt isrthread: add configuring the stack of an isrthread as static 2024-11-08 01:49:14 +08:00
irq.h arch/tricore: support minimal vectortalbe in tricore 2026-01-19 17:51:48 +08:00
irq_attach.c sched/irq: Consolidate IRQ bounds checking into IRQ_TO_NDX macro 2026-01-28 13:35:30 +08:00
irq_attach_thread.c sched/irq: Make threaded IRQ detach safe without a task. 2026-09-16 00:02:45 +08:00
irq_attach_wqueue.c sched/irq: Cancel queued work before detaching worked IRQs. 2026-09-16 00:02:45 +08:00
irq_chain.c sched/irq: Consolidate IRQ bounds checking into IRQ_TO_NDX macro 2026-01-28 13:35:30 +08:00
irq_csection.c sched/spinlock: Update the information of critmon in docu. 2026-01-27 21:59:14 +08:00
irq_dispatch.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
irq_foreach.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
irq_initialize.c debug/0 address: Add 0 address access panic configuration 2025-06-26 19:25:31 +08:00
irq_procfs.c !include/fcntl.h: align open flags with Linux values 2026-06-30 13:43:44 +08:00
irq_spinlock.c sched: remove spin_lock_irqsave(NULL) support 2025-01-10 22:35:14 +08:00
irq_unexpectedisr.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
Make.defs isrthread: add configuring the stack of an isrthread as static 2024-11-08 01:49:14 +08:00