Mercurial > hg > nginx
comparison src/event/modules/ngx_kqueue_module.c @ 315:39b6f2df45c0
nginx-0.0.3-2004-04-14-21:44:28 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 14 Apr 2004 17:44:28 +0000 |
parents | 98f1a8028067 |
children | a0beefedaf94 |
comparison
equal
deleted
inserted
replaced
314:d71c87d11b16 | 315:39b6f2df45c0 |
---|---|
381 timer = ngx_accept_mutex_delay; | 381 timer = ngx_accept_mutex_delay; |
382 expire = 0; | 382 expire = 0; |
383 } | 383 } |
384 } | 384 } |
385 | 385 |
386 if (timer) { | 386 if (timer == -1) { |
387 ts.tv_sec = 0; | |
388 ts.tv_nsec = 0; | |
389 tp = &ts; | |
390 | |
391 } else if (timer) { | |
387 ts.tv_sec = timer / 1000; | 392 ts.tv_sec = timer / 1000; |
388 ts.tv_nsec = (timer % 1000) * 1000000; | 393 ts.tv_nsec = (timer % 1000) * 1000000; |
389 tp = &ts; | 394 tp = &ts; |
390 | 395 |
391 } else { | 396 } else { |