summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_job.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-01-27 11:35:11 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-01-27 11:35:11 +0300
commitba0391577b06446307fa073f856f57748557e0dd (patch)
treeb2b871a041edee242662c95197bed292531c3a9a /src/nxt_job.h
parent6886b83c1f3bfdc514d58ad6e9ab40873cafcb54 (diff)
downloadunit-ba0391577b06446307fa073f856f57748557e0dd.tar.gz
unit-ba0391577b06446307fa073f856f57748557e0dd.tar.bz2
Work queues refactoring.
Diffstat (limited to 'src/nxt_job.h')
-rw-r--r--src/nxt_job.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nxt_job.h b/src/nxt_job.h
index f1954b57..b1af2e80 100644
--- a/src/nxt_job.h
+++ b/src/nxt_job.h
@@ -33,7 +33,7 @@
typedef struct {
void *data;
- nxt_task_t task;
+ nxt_task_t *task;
nxt_work_handler_t abort_handler;
@@ -49,6 +49,8 @@ typedef struct {
nxt_log_t *log;
#endif
+ nxt_work_t work;
+
#if (NXT_DEBUG)
const char *name;
#endif