Fix-Point commented on code in PR #16231: URL: https://github.com/apache/nuttx/pull/16231#discussion_r2074628825
########## sched/wqueue/kwork_cancel.c: ########## @@ -31,7 +31,7 @@ #include <nuttx/irq.h> #include <nuttx/arch.h> -#include <nuttx/queue.h> +#include <nuttx/list.h> Review Comment: Done. ########## sched/wqueue/wqueue.h: ########## @@ -66,14 +66,15 @@ struct kworker_s struct kwork_wqueue_s { - struct list_node q; /* The queue of pending work */ - sem_t sem; /* The counting semaphore of the wqueue */ - sem_t exsem; /* Sync waiting for thread exit */ - spinlock_t lock; /* Spinlock */ - uint8_t nthreads; /* Number of worker threads */ - bool exit; /* A flag to request the thread to exit */ - int16_t wait_count; - struct kworker_s worker[0]; /* Describes a worker thread */ + struct list_node expired; /* The queue of expired work. */ Review Comment: Done. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org