comparison src/event/modules/ngx_win32_select_module.c @ 3358:f94e8ff65aa2

add NGX_PROCESS_HELPER process status
author Igor Sysoev <igor@sysoev.ru>
date Mon, 23 Nov 2009 15:46:21 +0000
parents a66d6dfd53f1
children d4c4cfdffe30
comparison
equal deleted inserted replaced
3357:fc735aa50b8b 3358:f94e8ff65aa2
80 FD_ZERO(&master_read_fd_set); 80 FD_ZERO(&master_read_fd_set);
81 FD_ZERO(&master_write_fd_set); 81 FD_ZERO(&master_write_fd_set);
82 nevents = 0; 82 nevents = 0;
83 } 83 }
84 84
85 if (ngx_process == NGX_PROCESS_WORKER 85 if (ngx_process >= NGX_PROCESS_WORKER
86 || cycle->old_cycle == NULL 86 || cycle->old_cycle == NULL
87 || cycle->old_cycle->connection_n < cycle->connection_n) 87 || cycle->old_cycle->connection_n < cycle->connection_n)
88 { 88 {
89 index = ngx_alloc(sizeof(ngx_event_t *) * 2 * cycle->connection_n, 89 index = ngx_alloc(sizeof(ngx_event_t *) * 2 * cycle->connection_n,
90 cycle->log); 90 cycle->log);