diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-04-16 09:14:16 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-04-16 09:14:16 +0400 |
commit | 630ad0c7b17b4e20d978706d3884995481f28b3c (patch) | |
tree | 794f7617a06a007f98149fa11c1ebc92827c29a5 /src/os/win32 | |
parent | 68df19d33ac5cf804650261867afd5f8acdce364 (diff) |
nginx-0.0.3-2004-04-16-09:14:16 import
Diffstat (limited to 'src/os/win32')
-rw-r--r-- | src/os/win32/ngx_process_cycle.c | 6 | ||||
-rw-r--r-- | src/os/win32/ngx_process_cycle.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/os/win32/ngx_process_cycle.c b/src/os/win32/ngx_process_cycle.c index ab387d458..ad5024b23 100644 --- a/src/os/win32/ngx_process_cycle.c +++ b/src/os/win32/ngx_process_cycle.c @@ -34,6 +34,12 @@ sig_atomic_t ngx_change_binary; void ngx_master_process_cycle(ngx_cycle_t *cycle, ngx_master_ctx_t *ctx) { + exit(2); +} + + +void ngx_single_process_cycle(ngx_cycle_t *cycle, ngx_master_ctx_t *ctx) +{ ngx_int_t i; ngx_init_temp_number(); diff --git a/src/os/win32/ngx_process_cycle.h b/src/os/win32/ngx_process_cycle.h index 364094a70..9df6771e3 100644 --- a/src/os/win32/ngx_process_cycle.h +++ b/src/os/win32/ngx_process_cycle.h @@ -20,6 +20,7 @@ typedef struct { 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; |