From 5fa5b1464f2a0623bb7ee7c68ff6f9d18e744ed4 Mon Sep 17 00:00:00 2001 From: Zhidao HONG Date: Sat, 9 Oct 2021 10:44:31 +0800 Subject: Configuration: automatic migration to the new "share" behavior. --- src/nxt_runtime.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/nxt_runtime.h') diff --git a/src/nxt_runtime.h b/src/nxt_runtime.h index 0fb8c9a1..2037fc5d 100644 --- a/src/nxt_runtime.h +++ b/src/nxt_runtime.h @@ -65,6 +65,8 @@ struct nxt_runtime_s { const char *log; const char *modules; const char *state; + const char *ver; + const char *ver_tmp; const char *conf; const char *conf_tmp; const char *control; -- cgit From 1de660b6df93c09719361e364211c7c6388c01ce Mon Sep 17 00:00:00 2001 From: Tiago Natel de Moura Date: Tue, 9 Nov 2021 15:48:44 +0300 Subject: Changed nxt_process_* for reuse. This enables the reuse of process creation functions. --- src/nxt_runtime.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/nxt_runtime.h') diff --git a/src/nxt_runtime.h b/src/nxt_runtime.h index 2037fc5d..f40b9389 100644 --- a/src/nxt_runtime.h +++ b/src/nxt_runtime.h @@ -94,8 +94,6 @@ nxt_int_t nxt_runtime_thread_pool_create(nxt_thread_t *thr, nxt_runtime_t *rt, nxt_uint_t max_threads, nxt_nsec_t timeout); -nxt_process_t *nxt_runtime_process_new(nxt_runtime_t *rt); - 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); -- cgit From e207415a78ae67b937faf7e5bcd6e5192993180a Mon Sep 17 00:00:00 2001 From: Tiago Natel de Moura Date: Tue, 9 Nov 2021 15:48:44 +0300 Subject: Introducing application prototype processes. --- src/nxt_runtime.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/nxt_runtime.h') diff --git a/src/nxt_runtime.h b/src/nxt_runtime.h index f40b9389..d7fe2f38 100644 --- a/src/nxt_runtime.h +++ b/src/nxt_runtime.h @@ -54,6 +54,7 @@ struct nxt_runtime_s { uint8_t daemon; uint8_t batch; uint8_t status; + uint8_t is_pid_isolated; const char *engine; uint32_t engine_connections; @@ -95,6 +96,7 @@ nxt_int_t nxt_runtime_thread_pool_create(nxt_thread_t *thr, nxt_runtime_t *rt, void nxt_runtime_process_add(nxt_task_t *task, nxt_process_t *process); +void nxt_runtime_process_remove(nxt_runtime_t *rt, nxt_process_t *process); nxt_process_t *nxt_runtime_process_find(nxt_runtime_t *rt, nxt_pid_t pid); -- cgit