summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_process.c
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2020-08-11 19:20:17 +0300
committerMax Romanov <max.romanov@nginx.com>2020-08-11 19:20:17 +0300
commit2f3d27fa22d2e5566dfdeddfb6a1f8c927a5c73d (patch)
tree4c85437f95778115e3f0039b7bf539563374df35 /src/nxt_process.c
parent83595606121a821f9e3cef0f0b7e7fe87eb1e50a (diff)
downloadunit-2f3d27fa22d2e5566dfdeddfb6a1f8c927a5c73d.tar.gz
unit-2f3d27fa22d2e5566dfdeddfb6a1f8c927a5c73d.tar.bz2
Process structures refactoring in runtime and libunit.
Generic process-to-process shared memory exchange is no more required. Here, it is transformed into a router-to-application pattern. The outgoing shared memory segments collection is now the property of the application structure. The applications connect to the router only, and the process only needs to group the ports.
Diffstat (limited to 'src/nxt_process.c')
-rw-r--r--src/nxt_process.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nxt_process.c b/src/nxt_process.c
index 0b3aa40f..9bfae395 100644
--- a/src/nxt_process.c
+++ b/src/nxt_process.c
@@ -146,7 +146,6 @@ nxt_process_child_fixup(nxt_task_t *task, nxt_process_t *process)
}
nxt_port_mmaps_destroy(&p->incoming, 0);
- nxt_port_mmaps_destroy(&p->outgoing, 0);
} nxt_runtime_process_loop;