libowfat/io/io_timeout.c
leitner a544abc39c switch io_fds from array to newly implemented (hopefully thread-safe) iarray
switch epoll from level triggering to edge triggering
2014-04-04 18:11:03 +00:00

8 lines
129 B
C

#include "io_internal.h"
void io_timeout(int64 d,tai6464 t) {
io_entry* e=iarray_get(&io_fds,d);
if (e)
e->timeout=t;
}