Mercurial > hg > nginx
comparison src/os/unix/ngx_process_cycle.c @ 290:87e73f067470
nginx-0.0.2-2004-03-16-10:10:12 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 16 Mar 2004 07:10:12 +0000 |
parents | b79f021a644a |
children | ec3c049681fd |
comparison
equal
deleted
inserted
replaced
289:0750faf8d7e3 | 290:87e73f067470 |
---|---|
331 } | 331 } |
332 | 332 |
333 | 333 |
334 static void ngx_master_exit(ngx_cycle_t *cycle, ngx_master_ctx_t *ctx) | 334 static void ngx_master_exit(ngx_cycle_t *cycle, ngx_master_ctx_t *ctx) |
335 { | 335 { |
336 char *name; | 336 u_char *name; |
337 | 337 |
338 if (ngx_inherited && getppid() > 1) { | 338 if (ngx_inherited && getppid() > 1) { |
339 name = ctx->pid.name.data; | 339 name = ctx->pid.name.data; |
340 | 340 |
341 } else { | 341 } else { |
353 | 353 |
354 | 354 |
355 static void ngx_worker_process_cycle(ngx_cycle_t *cycle, void *data) | 355 static void ngx_worker_process_cycle(ngx_cycle_t *cycle, void *data) |
356 { | 356 { |
357 sigset_t set; | 357 sigset_t set; |
358 ngx_int_t i; | 358 ngx_uint_t i; |
359 ngx_listening_t *ls; | 359 ngx_listening_t *ls; |
360 ngx_core_conf_t *ccf; | 360 ngx_core_conf_t *ccf; |
361 #if (NGX_THREADS) | 361 #if (NGX_THREADS) |
362 ngx_tid_t tid; | 362 ngx_tid_t tid; |
363 #endif | 363 #endif |