Router: using joint job queues instead of arrays to pass

listening socket handlers to worker engines.
This commit is contained in:
Igor Sysoev
2017-07-14 17:17:15 +03:00
parent 668aabac3c
commit 3ed35d725a
2 changed files with 36 additions and 91 deletions

View File

@@ -35,9 +35,7 @@ typedef struct {
typedef struct {
nxt_event_engine_t *engine;
nxt_array_t *creating; /* of nxt_joint_job_t */
nxt_array_t *updating; /* of nxt_joint_job_t */
nxt_array_t *deleting; /* of nxt_joint_job_t */
nxt_work_t *jobs;
} nxt_router_engine_conf_t;