From 6d3d082c6defed7233102490737d0fd0973b46e4 Mon Sep 17 00:00:00 2001 From: YuQing <384681@qq.com> Date: Sun, 12 Feb 2023 17:09:32 +0800 Subject: [PATCH] add field notify_next for nio notify queue --- HISTORY | 1 + src/fast_task_queue.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/HISTORY b/HISTORY index cbeed63..031dcd2 100644 --- a/HISTORY +++ b/HISTORY @@ -1,6 +1,7 @@ Version 1.66 2023-02-12 * struct fast_task_info add field: nio_stages.next for epoll edge trigger + * struct fast_task_info add field: notify_next for nio notify queue Version 1.65 2023-01-09 * locked_list.h: add functions locked_list_move and locked_list_move_tail diff --git a/src/fast_task_queue.h b/src/fast_task_queue.h index 57250de..813b14c 100644 --- a/src/fast_task_queue.h +++ b/src/fast_task_queue.h @@ -111,7 +111,8 @@ struct fast_task_info TaskFinishCallback finish_callback; struct nio_thread_data *thread_data; void *ctx; //context pointer for libserverframe nio - struct fast_task_info *next; + struct fast_task_info *next; //for free queue and deleted list + struct fast_task_info *notify_next; //for nio notify queue }; struct fast_task_queue