summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_job.h
diff options
context:
space:
mode:
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