mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
wqueue: change single queue to double queue to improve speed
Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
@@ -249,7 +249,7 @@ struct work_s
|
||||
{
|
||||
struct
|
||||
{
|
||||
struct sq_entry_s sq; /* Implements a single linked list */
|
||||
struct dq_entry_s dq; /* Implements a double linked list */
|
||||
clock_t qtime; /* Time work queued */
|
||||
} s;
|
||||
struct wdog_s timer; /* Delay expiry timer */
|
||||
|
||||
Reference in New Issue
Block a user