Mercurial > hg > nginx
comparison src/event/modules/ngx_kqueue_module.c @ 378:b7d3625c9336
nginx-0.0.7-2004-07-05-23:53:02 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 05 Jul 2004 19:53:02 +0000 |
parents | 41437e4fd9b4 |
children | 73688d5d7fc3 |
comparison
equal
deleted
inserted
replaced
377:41437e4fd9b4 | 378:b7d3625c9336 |
---|---|
367 struct timespec ts, *tp; | 367 struct timespec ts, *tp; |
368 | 368 |
369 for ( ;; ) { | 369 for ( ;; ) { |
370 timer = ngx_event_find_timer(); | 370 timer = ngx_event_find_timer(); |
371 | 371 |
372 #if (NGX_THREADS) | 372 #if (NGX_THREADS0) |
373 if (timer == NGX_TIMER_ERROR) { | 373 if (timer == NGX_TIMER_ERROR) { |
374 return NGX_ERROR; | 374 return NGX_ERROR; |
375 } | 375 } |
376 | 376 |
377 if (timer == NGX_TIMER_INFINITE || timer > 500) { | 377 if (timer == NGX_TIMER_INFINITE || timer > 500) { |