aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_process.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/unix/ngx_process.h')
-rw-r--r--src/os/unix/ngx_process.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/os/unix/ngx_process.h b/src/os/unix/ngx_process.h
index a71f68293..1eb545bce 100644
--- a/src/os/unix/ngx_process.h
+++ b/src/os/unix/ngx_process.h
@@ -33,19 +33,17 @@ typedef struct {
#define NGX_PROCESS_SINGLE 0
#define NGX_PROCESS_MASTER 1
#define NGX_PROCESS_WORKER 2
-#define NGX_PROCESS_QUITING 3
-#define NGX_PROCESS_PAUSED 4
#define NGX_MAX_PROCESSES 1024
-#define NGX_PROCESS_RESPAWN -1
-#define NGX_PROCESS_NORESPAWN -2
+#define NGX_PROCESS_NORESPAWN -1
+#define NGX_PROCESS_RESPAWN -2
#define NGX_PROCESS_DETACHED -3
#define ngx_getpid getpid
-ngx_int_t ngx_spawn_process(ngx_cycle_t *cycle,
+ngx_pid_t ngx_spawn_process(ngx_cycle_t *cycle,
ngx_spawn_proc_pt proc, void *data,
char *name, ngx_int_t respawn);
ngx_int_t ngx_exec(ngx_cycle_t *cycle, ngx_exec_ctx_t *ctx);