wqueue: change single queue to double queue to improve speed

Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
ligd
2022-08-17 15:55:03 +08:00
committed by Petro Karashchenko
parent 2cc3ec57ef
commit 4a87578bdb
9 changed files with 24 additions and 24 deletions
+1 -1
View File
@@ -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 */