[Libevent-users] [PATCHES] use monotonic clock & infinite timeouts
Scott Lamb
slamb at slamb.org
Wed Jul 25 16:51:26 EDT 2007
Scott Lamb wrote:
> libevent's monotonic clock detection is currently broken on all
> platforms. The first attached patch fixes it. The second takes advantage
> of it to remove the 5-second idle timeout where possible. This is
> starting to become a big deal on Linux, where they've removed ticks from
> the kernel and are now using tools (PowerTOP) to remove unnecessary
> wakeups from userspace. This effort is greatly extending my battery life.
In fact, I just saw RedHat has a bug open specifically about libevent's
5-second timer.
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=204990
More information about the Libevent-users
mailing list