You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
190 B
C
9 lines
190 B
C
10 years ago
|
#include "io_internal.h"
|
||
|
|
||
|
int io_timedout(int64 d) {
|
||
|
tai6464 now;
|
||
|
io_entry* e=iarray_get(&io_fds,d);
|
||
|
taia_now(&now);
|
||
|
return (e && e->timeout.sec.x && taia_less(&e->timeout,&now));
|
||
|
}
|