summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_runtime.h
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-10-04 15:02:11 +0300
committerMax Romanov <max.romanov@nginx.com>2017-10-04 15:02:11 +0300
commite44401a0bb72aa66bec0322fa05e8c86fefc9074 (patch)
treef5a7013e7d811f13515ed7bfc9dc96ff7c6729d6 /src/nxt_runtime.h
parentf869bf1b020ed41d5a64b106ba48ec45412b912c (diff)
downloadunit-e44401a0bb72aa66bec0322fa05e8c86fefc9074.tar.gz
unit-e44401a0bb72aa66bec0322fa05e8c86fefc9074.tar.bz2
Introducing process use counter.
This helps to decouple process removal from port memory pool cleanups.
Diffstat (limited to 'src/nxt_runtime.h')
-rw-r--r--src/nxt_runtime.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_runtime.h b/src/nxt_runtime.h
index 5aa897dc..af105c6b 100644
--- a/src/nxt_runtime.h
+++ b/src/nxt_runtime.h
@@ -106,7 +106,7 @@ void nxt_runtime_process_add(nxt_task_t *task, nxt_process_t *process);
nxt_process_t *nxt_runtime_process_find(nxt_runtime_t *rt, nxt_pid_t pid);
-void nxt_runtime_process_remove(nxt_task_t *task, nxt_process_t *process);
+void nxt_process_use(nxt_task_t *task, nxt_process_t *process, int i);
nxt_process_t *nxt_runtime_process_first(nxt_runtime_t *rt,
nxt_lvlhsh_each_t *lhe);