summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_event_engine.c
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-07-18 00:21:14 +0300
committerMax Romanov <max.romanov@nginx.com>2017-07-18 00:21:14 +0300
commiteb675f2d78178b2cdd54d934022f9b739bfa8952 (patch)
tree0b072c752fff35cd5c4498cded7016a5738caa58 /src/nxt_event_engine.c
parent47b359388cdf6348238e7fc05770426448049189 (diff)
downloadunit-eb675f2d78178b2cdd54d934022f9b739bfa8952.tar.gz
unit-eb675f2d78178b2cdd54d934022f9b739bfa8952.tar.bz2
Port allocation and destroy changed. Worker process stop introduced.
Diffstat (limited to '')
-rw-r--r--src/nxt_event_engine.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nxt_event_engine.c b/src/nxt_event_engine.c
index 9171bcd6..b91f0e50 100644
--- a/src/nxt_event_engine.c
+++ b/src/nxt_event_engine.c
@@ -38,6 +38,8 @@ nxt_event_engine_create(nxt_task_t *task,
return NULL;
}
+ nxt_debug(task, "create engine %p", engine);
+
thread = task->thread;
engine->task.thread = thread;
@@ -440,6 +442,8 @@ nxt_event_engine_change(nxt_event_engine_t *engine,
void
nxt_event_engine_free(nxt_event_engine_t *engine)
{
+ nxt_thread_log_debug("free engine %p", engine);
+
nxt_event_engine_signal_pipe_free(engine);
nxt_free(engine->signals);