From de532922d9ab42aa15b40d47c8db53ac2af38500 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 23 Jan 2017 19:56:03 +0300 Subject: Introducing tasks. --- src/nxt_event_timer.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/nxt_event_timer.h') diff --git a/src/nxt_event_timer.h b/src/nxt_event_timer.h index c20c2c17..64fbcbc4 100644 --- a/src/nxt_event_timer.h +++ b/src/nxt_event_timer.h @@ -15,11 +15,11 @@ #if (NXT_DEBUG) #define NXT_EVENT_TIMER { NXT_RBTREE_NODE_INIT, 0, 0, 0, \ - NULL, NULL, NULL, -1 } + NULL, NULL, NULL, NULL, -1 } #else #define NXT_EVENT_TIMER { NXT_RBTREE_NODE_INIT, 0, 0, 0, \ - NULL, NULL, NULL } + NULL, NULL, NULL, NULL } #endif @@ -34,6 +34,7 @@ typedef struct { nxt_work_queue_t *work_queue; nxt_work_handler_t handler; + nxt_task_t *task; nxt_log_t *log; #if (NXT_DEBUG) int32_t ident; -- cgit