summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_thread.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_thread.h
parent6886b83c1f3bfdc514d58ad6e9ab40873cafcb54 (diff)
downloadunit-ba0391577b06446307fa073f856f57748557e0dd.tar.gz
unit-ba0391577b06446307fa073f856f57748557e0dd.tar.bz2
Work queues refactoring.
Diffstat (limited to 'src/nxt_thread.h')
-rw-r--r--src/nxt_thread.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nxt_thread.h b/src/nxt_thread.h
index ebff808f..b25bd24a 100644
--- a/src/nxt_thread.h
+++ b/src/nxt_thread.h
@@ -92,7 +92,7 @@ typedef struct {
nxt_thread_start_t start;
void *data;
nxt_event_engine_t *engine;
- nxt_work_handler_t exit;
+ nxt_work_t work;
} nxt_thread_link_t;
@@ -179,7 +179,6 @@ struct nxt_thread_s {
nxt_thread_time_t time;
nxt_event_engine_t *engine;
- nxt_thread_work_queue_t work_queue;
/*
* Although pointer to a current fiber should be a property of