mirror of
git://erdgeist.org/opentracker
synced 2025-02-09 21:46:23 +00:00
Now we also check, if no io happens
This commit is contained in:
parent
ac8e26f99b
commit
8ecfe9a36f
@ -391,7 +391,9 @@ allparsed:
|
|||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
int64 i;
|
int64 i;
|
||||||
io_wait();
|
taia_now(&t);
|
||||||
|
taia_addsec(&t,&t,OT_CLIENT_TIMEOUT_CHECKINTERVAL);
|
||||||
|
io_waituntil(t);
|
||||||
|
|
||||||
taia_now(&t);
|
taia_now(&t);
|
||||||
if( taia_less( &next_timeout_check, &t ) ) {
|
if( taia_less( &next_timeout_check, &t ) ) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user