nuttx/sched/wqueue
DuoYuWang 7e5d05f4fd sched/wqueue: consolidate queue submission paths
Factor the common queueing logic used by work_queue_wq() and
work_queue_next_wq() into a private helper.

Preserve existing timing semantics: regular work calculates its absolute
expiration before taking the queue lock, while periodic work advances the
previous expiration under the lock.

This is a code deduplication change with no public API or behavior changes.

Assisted-by: Codex:GPT-5
Signed-off-by: DuoYuWang <thirteenking.wang@gmail.com>
2026-09-04 23:02:48 +08:00
..
CMakeLists.txt sched/wqueue: add configuring the stack of an hpwork/lpwork as static 2026-01-27 10:18:24 +08:00
kwork_cancel.c sched/wqueue: harden custom queue lifecycle 2026-09-04 23:02:48 +08:00
kwork_inherit.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
kwork_notifier.c sched/wqueue: Replace spinlock/sched_lock with spin_lock_irqsave_nopreempt 2025-10-31 15:02:56 +08:00
kwork_queue.c sched/wqueue: consolidate queue submission paths 2026-09-04 23:02:48 +08:00
kwork_thread.c sched/wqueue: harden custom queue lifecycle 2026-09-04 23:02:48 +08:00
Make.defs sched/wqueue: add configuring the stack of an hpwork/lpwork as static 2026-01-27 10:18:24 +08:00
wqueue.h sched/wqueue: harden custom queue lifecycle 2026-09-04 23:02:48 +08:00