Mercurial > hg > nginx-vendor-0-8
comparison src/os/unix/ngx_process_cycle.h @ 514:43cc6f0b77ce NGINX_0_8_9
nginx 0.8.9
*) Feature: now the start cache loader runs in a separate process; this
should improve large caches handling.
*) Feature: now temporarily files and permanent storage area may reside
at different file systems.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 17 Aug 2009 00:00:00 +0400 |
parents | 392c16f2d858 |
children | 86dad910eeb6 |
comparison
equal
deleted
inserted
replaced
513:16d97d9e72b7 | 514:43cc6f0b77ce |
---|---|
23 #define NGX_PROCESS_MASTER 1 | 23 #define NGX_PROCESS_MASTER 1 |
24 #define NGX_PROCESS_WORKER 2 | 24 #define NGX_PROCESS_WORKER 2 |
25 #define NGX_PROCESS_SIGNALLER 3 | 25 #define NGX_PROCESS_SIGNALLER 3 |
26 | 26 |
27 | 27 |
28 typedef struct { | |
29 ngx_event_handler_pt handler; | |
30 char *name; | |
31 ngx_msec_t delay; | |
32 } ngx_cache_manager_ctx_t; | |
33 | |
34 | |
28 void ngx_master_process_cycle(ngx_cycle_t *cycle); | 35 void ngx_master_process_cycle(ngx_cycle_t *cycle); |
29 void ngx_single_process_cycle(ngx_cycle_t *cycle); | 36 void ngx_single_process_cycle(ngx_cycle_t *cycle); |
30 | 37 |
31 | 38 |
32 extern ngx_uint_t ngx_process; | 39 extern ngx_uint_t ngx_process; |