Klaus Demo nginx / bfda85b
Win32: fixed init_process without master process (ticket #453). Init process callbacks are called by ngx_worker_thread(), there is no need to call them in ngx_single_process_cycle(). Maxim Dounin 8 years ago
1 changed file(s) with 0 addition(s) and 10 deletion(s). Raw diff Collapse all Expand all
10211021 void
10221022 ngx_single_process_cycle(ngx_cycle_t *cycle)
10231023 {
1024 ngx_int_t i;
10251024 ngx_tid_t tid;
1026
1027 for (i = 0; ngx_modules[i]; i++) {
1028 if (ngx_modules[i]->init_process) {
1029 if (ngx_modules[i]->init_process(cycle) == NGX_ERROR) {
1030 /* fatal */
1031 exit(2);
1032 }
1033 }
1034 }
10351025
10361026 ngx_process_init(cycle);
10371027