nuttx/libs/libc/wqueue
DuoYuWang ae5997eef7 libc/wqueue: support custom user work queues
Implement the handle-based create, queue, priority, cancellation, and
teardown APIs for CONFIG_LIBC_USRWORK.  Custom queues use configurable
pthread worker pools while the predefined USRWORK queue remains available.

Match scheduler-backend delay, replacement, cancellation, and lifecycle
semantics.  Restrict the libc backend to task context because it uses
blocking synchronization.

Tested on an STM32H7 PX4 FMUv6C with ostest wqueue in Protected user space.

Assisted-by: Codex:GPT-5
Signed-off-by: DuoYuWang <thirteenking.wang@gmail.com>
2026-09-04 23:02:48 +08:00
..
CMakeLists.txt wqueue: fix the config typo error 2026-01-14 09:24:00 +08:00
Kconfig libc/wqueue: support custom user work queues 2026-09-04 23:02:48 +08:00
Make.defs libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
work_cancel.c libc/wqueue: support custom user work queues 2026-09-04 23:02:48 +08:00
work_queue.c libc/wqueue: support custom user work queues 2026-09-04 23:02:48 +08:00
work_usrthread.c libc/wqueue: support custom user work queues 2026-09-04 23:02:48 +08:00
wqueue.h libc/wqueue: support custom user work queues 2026-09-04 23:02:48 +08:00