From 8ecfe9a36fafff55b8e6112f709e5ce62a5547f5 Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Mon, 8 Jan 2007 05:23:04 +0000 Subject: Now we also check, if no io happens --- opentracker.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'opentracker.c') diff --git a/opentracker.c b/opentracker.c index 5bccab9..4d65564 100644 --- a/opentracker.c +++ b/opentracker.c @@ -391,7 +391,9 @@ allparsed: for (;;) { int64 i; - io_wait(); + taia_now(&t); + taia_addsec(&t,&t,OT_CLIENT_TIMEOUT_CHECKINTERVAL); + io_waituntil(t); taia_now(&t); if( taia_less( &next_timeout_check, &t ) ) { -- cgit v1.2.3