mirror of
https://github.com/apache/nuttx.git
synced 2026-09-10 02:46:33 +00:00
This commit fixed work_cancel_sync at a very rare boundary case. When a worker thread re-enqueues the work data structure during the execution of work, the user thread cannot directly dequeue the work in work_cancel_sync. Instead, it should wait until all workers' references to the work data structure have been eliminated after dequeuing. Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| kwork_cancel.c | ||
| kwork_inherit.c | ||
| kwork_notifier.c | ||
| kwork_queue.c | ||
| kwork_thread.c | ||
| Make.defs | ||
| wqueue.h | ||