Work queues refactoring.

This commit is contained in:
Igor Sysoev
2017-01-27 11:35:11 +03:00
parent 6886b83c1f
commit ba0391577b
35 changed files with 408 additions and 771 deletions

View File

@@ -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