The master process has been renamed to the main process.

This commit is contained in:
Igor Sysoev
2017-08-29 02:59:35 +03:00
parent 946867febe
commit 9d487df10d
16 changed files with 123 additions and 123 deletions

View File

@@ -178,7 +178,7 @@ nxt_port_send_new_port(nxt_task_t *task, nxt_runtime_t *rt,
port = nxt_process_port_first(process);
if (port->type == NXT_PROCESS_MASTER ||
if (port->type == NXT_PROCESS_MAIN ||
port->type == NXT_PROCESS_CONTROLLER ||
port->type == NXT_PROCESS_ROUTER) {
@@ -280,7 +280,7 @@ nxt_port_ready_handler(nxt_task_t *task, nxt_port_recv_msg_t *msg)
rt = task->thread->runtime;
nxt_assert(nxt_runtime_is_master(rt));
nxt_assert(nxt_runtime_is_main(rt));
process = nxt_runtime_process_get(rt, msg->port_msg.pid);
if (nxt_slow_path(process == NULL)) {