comparison src/os/unix/ngx_process_cycle.h @ 3247:1f3cd08ebb82 stable-0.7

merge r3017, r3018, r3019, r3020, r3021, r3022, r3023, r3196: cache management fixes: *) separate cache loader process *) use real file cache length, this fixes cache size counting for responses without "Content-Length" header and 304 responses.
author Igor Sysoev <igor@sysoev.ru>
date Mon, 26 Oct 2009 17:23:49 +0000
parents 4b5cf483c6a8
children
comparison
equal deleted inserted replaced
3246:eb555a9a57d4 3247:1f3cd08ebb82
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;