From 56e922af652c46bb71218c6799bdd3f739fdae6b Mon Sep 17 00:00:00 2001 From: Michael Poole Date: Wed, 4 Oct 2006 01:23:10 +0000 Subject: [PATCH] Update time for ioset backend. src/ioset-epoll.c (ioset_epoll_loop): Set now after epoll_wait() returns. git-archimport-id: srvx@srvx.net--2006/srvx--devo--1.3--patch-51 --- ChangeLog | 13 +++++++++++++ src/ioset-epoll.c | 1 + 2 files changed, 14 insertions(+) diff --git a/ChangeLog b/ChangeLog index 29773f5..16645a0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,19 @@ # arch-tag: automatic-ChangeLog--srvx@srvx.net--2006/srvx--devo--1.3 # +2006-10-04 01:23:10 GMT Michael Poole patch-51 + + Summary: + Update time for ioset backend. + Revision: + srvx--devo--1.3--patch-51 + + src/ioset-epoll.c (ioset_epoll_loop): Set now after epoll_wait() returns. + + modified files: + ChangeLog src/ioset-epoll.c + + 2006-10-03 23:18:25 GMT Michael Poole patch-50 Summary: diff --git a/src/ioset-epoll.c b/src/ioset-epoll.c index e09f83f..4e0589c 100644 --- a/src/ioset-epoll.c +++ b/src/ioset-epoll.c @@ -102,6 +102,7 @@ ioset_epoll_loop(struct timeval *timeout) msec = timeout ? (timeout->tv_sec * 1000 + timeout->tv_usec / 1000) : -1; res = epoll_wait(epoll_fd, evts, ArrayLength(evts), msec); + now = time(NULL) + clock_skew; if (res < 0) { if (errno != EINTR) { log_module(MAIN_LOG, LOG_ERROR, "epoll_wait() error %d: %s", errno, strerror(errno)); -- 2.20.1