comparison src/os/win32/ngx_process_cycle.c @ 2823:78342383cb6e

reconfigure master process
author Igor Sysoev <igor@sysoev.ru>
date Fri, 08 May 2009 18:12:03 +0000
parents ae81441e23f4
children 234a8248812c 87da6664fb49
comparison
equal deleted inserted replaced
2822:5364c3419a62 2823:78342383cb6e
196 ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, 196 ngx_log_error(NGX_LOG_ALERT, cycle->log, 0,
197 "ResetEvent(\"%s\") failed", 197 "ResetEvent(\"%s\") failed",
198 ngx_reload_event_name); 198 ngx_reload_event_name);
199 } 199 }
200 200
201 cycle = ngx_init_cycle(cycle);
202 if (cycle == NULL) {
203 cycle = (ngx_cycle_t *) ngx_cycle;
204 continue;
205 }
206
207 ngx_cycle = cycle;
208
201 ngx_start_worker_processes(cycle, NGX_PROCESS_JUST_RESPAWN); 209 ngx_start_worker_processes(cycle, NGX_PROCESS_JUST_RESPAWN);
202 ngx_quit_worker_processes(cycle, 1); 210 ngx_quit_worker_processes(cycle, 1);
203 211
204 continue; 212 continue;
205 } 213 }