Mercurial > hg > nginx
comparison src/event/ngx_event.c @ 109:a9bc21d63fe4
nginx-0.0.1-2003-07-02-18:41:17 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 02 Jul 2003 14:41:17 +0000 |
parents | b5be4b0448d3 |
children | da763a85be66 |
comparison
equal
deleted
inserted
replaced
108:adc093f880c8 | 109:a9bc21d63fe4 |
---|---|
233 | 233 |
234 return NGX_OK; | 234 return NGX_OK; |
235 } | 235 } |
236 | 236 |
237 | 237 |
238 void ngx_worker(ngx_log_t *log) | 238 void ngx_worker(ngx_cycle_t *cycle) |
239 { | 239 { |
240 for ( ;; ) { | 240 for ( ;; ) { |
241 ngx_log_debug(log, "ngx_worker cycle"); | 241 ngx_log_debug(cycle->log, "ngx_worker cycle"); |
242 | 242 |
243 ngx_process_events(log); | 243 ngx_process_events(cycle->log); |
244 } | 244 } |
245 } | 245 } |
246 | 246 |
247 | 247 |
248 static char *ngx_events_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) | 248 static char *ngx_events_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) |