diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-01-23 19:56:03 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-01-23 19:56:03 +0300 |
commit | de532922d9ab42aa15b40d47c8db53ac2af38500 (patch) | |
tree | d6b7c6b21c7a6e0e3620a3e0c7198e63454d05e3 /src/nxt_event_timer.h | |
parent | 16cbf3c076a0aca6d47adaf3f719493674cf2363 (diff) | |
download | unit-de532922d9ab42aa15b40d47c8db53ac2af38500.tar.gz unit-de532922d9ab42aa15b40d47c8db53ac2af38500.tar.bz2 |
Introducing tasks.
Diffstat (limited to '')
-rw-r--r-- | src/nxt_event_timer.h | 5 |
1 files changed, 3 insertions, 2 deletions
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; |