Mercurial > hg > nginx
comparison src/event/modules/ngx_kqueue_module.c @ 379:73688d5d7fc3
nginx-0.0.7-2004-07-06-20:12:16 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 06 Jul 2004 16:12:16 +0000 |
parents | b7d3625c9336 |
children | 5ce6561246a5 |
comparison
equal
deleted
inserted
replaced
378:b7d3625c9336 | 379:73688d5d7fc3 |
---|---|
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_THREADS0) | 372 #if (NGX_THREADS) |
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) { |