summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_runtime.h
diff options
context:
space:
mode:
authorTiago Natel de Moura <t.nateldemoura@f5.com>2021-11-09 15:48:44 +0300
committerTiago Natel de Moura <t.nateldemoura@f5.com>2021-11-09 15:48:44 +0300
commite207415a78ae67b937faf7e5bcd6e5192993180a (patch)
tree8f26521322b194af7c22134ebd8fdc393e649718 /src/nxt_runtime.h
parent1de660b6df93c09719361e364211c7c6388c01ce (diff)
downloadunit-e207415a78ae67b937faf7e5bcd6e5192993180a.tar.gz
unit-e207415a78ae67b937faf7e5bcd6e5192993180a.tar.bz2
Introducing application prototype processes.
Diffstat (limited to 'src/nxt_runtime.h')
-rw-r--r--src/nxt_runtime.h2
1 files changed, 2 insertions, 0 deletions
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);