summaryrefslogtreecommitdiffhomepage
path: root/src/os/win32
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/win32')
-rw-r--r--src/os/win32/ngx_process_cycle.c9
-rw-r--r--src/os/win32/ngx_process_cycle.h7
2 files changed, 8 insertions, 8 deletions
diff --git a/src/os/win32/ngx_process_cycle.c b/src/os/win32/ngx_process_cycle.c
index fa90494c5..2b18c0b1f 100644
--- a/src/os/win32/ngx_process_cycle.c
+++ b/src/os/win32/ngx_process_cycle.c
@@ -5,21 +5,20 @@
#if 0
-
-ngx_int_t ngx_process;
-ngx_pid_t ngx_pid;
ngx_pid_t ngx_new_binary;
-ngx_int_t ngx_inherited;
sig_atomic_t ngx_reap;
sig_atomic_t ngx_timer;
#endif
-ngx_int_t ngx_threaded;
+ngx_uint_t ngx_process;
+ngx_pid_t ngx_pid;
+ngx_uint_t ngx_threaded;
sig_atomic_t ngx_terminate;
sig_atomic_t ngx_quit;
+ngx_uint_t ngx_exiting;
#if 0
diff --git a/src/os/win32/ngx_process_cycle.h b/src/os/win32/ngx_process_cycle.h
index 9df6771e3..0a91e84f5 100644
--- a/src/os/win32/ngx_process_cycle.h
+++ b/src/os/win32/ngx_process_cycle.h
@@ -23,11 +23,12 @@ void ngx_master_process_cycle(ngx_cycle_t *cycle, ngx_master_ctx_t *ctx);
void ngx_single_process_cycle(ngx_cycle_t *cycle, ngx_master_ctx_t *ctx);
-extern ngx_int_t ngx_process;
+extern ngx_uint_t ngx_process;
extern ngx_pid_t ngx_pid;
extern ngx_pid_t ngx_new_binary;
-extern ngx_int_t ngx_inherited;
-extern ngx_int_t ngx_threaded;
+extern ngx_uint_t ngx_inherited;
+extern ngx_uint_t ngx_threaded;
+extern ngx_uint_t ngx_exiting;
extern sig_atomic_t ngx_reap;
extern sig_atomic_t ngx_timer;