summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_process.h
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2017-08-30 03:10:13 +0300
committerValentin Bartenev <vbart@nginx.com>2017-08-30 03:10:13 +0300
commitf528cb393a137b5e9c34adb311d9addb3c5e1d78 (patch)
treefae9c1949cd76c15d481ea560d1d068b3a42cad2 /src/nxt_process.h
parente21dbf89e6d5569d1c9a93f41a21bcc240c64cf3 (diff)
downloadunit-f528cb393a137b5e9c34adb311d9addb3c5e1d78.tar.gz
unit-f528cb393a137b5e9c34adb311d9addb3c5e1d78.tar.bz2
Controller: waiting for router before start to accept connections.
Previously, reconfiguration might fail right after the daemon start if the router process wasn't ready yet.
Diffstat (limited to 'src/nxt_process.h')
-rw-r--r--src/nxt_process.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nxt_process.h b/src/nxt_process.h
index 8b949853..2d1080cc 100644
--- a/src/nxt_process.h
+++ b/src/nxt_process.h
@@ -98,6 +98,10 @@ nxt_port_t *nxt_process_connected_port_find(nxt_process_t *process,
nxt_pid_t pid, nxt_port_id_t port_id);
+void nxt_worker_process_quit_handler(nxt_task_t *task,
+ nxt_port_recv_msg_t *msg);
+
+
#if (NXT_HAVE_SETPROCTITLE)
#define nxt_process_title(task, fmt, ...) \