summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_process.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_process.h')
-rw-r--r--src/nxt_process.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/nxt_process.h b/src/nxt_process.h
index e4d3c93a..c92eebd8 100644
--- a/src/nxt_process.h
+++ b/src/nxt_process.h
@@ -99,19 +99,26 @@ typedef struct {
struct nxt_process_s {
nxt_pid_t pid;
- const char *name;
- nxt_queue_t ports; /* of nxt_port_t */
+ nxt_queue_t ports; /* of nxt_port_t.link */
nxt_process_state_t state;
nxt_bool_t registered;
nxt_int_t use_count;
nxt_port_mmaps_t incoming;
+
+ nxt_pid_t isolated_pid;
+ const char *name;
+ nxt_port_t *parent_port;
+
uint32_t stream;
nxt_mp_t *mem_pool;
nxt_credential_t *user_cred;
+ nxt_queue_t children; /* of nxt_process_t.link */
+ nxt_queue_link_t link; /* for nxt_process_t.children */
+
nxt_process_data_t data;
nxt_process_isolation_t isolation;