From e44401a0bb72aa66bec0322fa05e8c86fefc9074 Mon Sep 17 00:00:00 2001 From: Max Romanov Date: Wed, 4 Oct 2017 15:02:11 +0300 Subject: Introducing process use counter. This helps to decouple process removal from port memory pool cleanups. --- src/nxt_runtime.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nxt_runtime.h') 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); -- cgit