diff options
| author | erdgeist <> | 2007-01-08 05:23:04 +0000 |
|---|---|---|
| committer | erdgeist <> | 2007-01-08 05:23:04 +0000 |
| commit | 8ecfe9a36fafff55b8e6112f709e5ce62a5547f5 (patch) | |
| tree | f3e96587724a31789dc39614868ab8b296dcb3d9 | |
| parent | ac8e26f99bee3a390cf01b0ac7298cb5c5c8e0d8 (diff) | |
Now we also check, if no io happens
| -rw-r--r-- | opentracker.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/opentracker.c b/opentracker.c index 5bccab9..4d65564 100644 --- a/opentracker.c +++ b/opentracker.c | |||
| @@ -391,7 +391,9 @@ allparsed: | |||
| 391 | 391 | ||
| 392 | for (;;) { | 392 | for (;;) { |
| 393 | int64 i; | 393 | int64 i; |
| 394 | io_wait(); | 394 | taia_now(&t); |
| 395 | taia_addsec(&t,&t,OT_CLIENT_TIMEOUT_CHECKINTERVAL); | ||
| 396 | io_waituntil(t); | ||
| 395 | 397 | ||
| 396 | taia_now(&t); | 398 | taia_now(&t); |
| 397 | if( taia_less( &next_timeout_check, &t ) ) { | 399 | if( taia_less( &next_timeout_check, &t ) ) { |
