From ad2d8ac073e576f538813a75183a3a8a477dfd5b Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 25 Jun 2010 15:31:46 -0400 Subject: Use Libevent 2.0's periodic timers where available. These timers behave better with non-monotonic clocks than our old ones, and also try harder to make once-per-second events get called one second apart, rather than one-plus-epsilon seconds apart. This fixes bug 943 for everybody using Libevent 2.0 or later. --- changes/once_per_sec | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 changes/once_per_sec (limited to 'changes') diff --git a/changes/once_per_sec b/changes/once_per_sec new file mode 100644 index 0000000000..abab6da0cd --- /dev/null +++ b/changes/once_per_sec @@ -0,0 +1,4 @@ + o Minor features + - Where available, use Libevent 2.0's periodic timers so that our + once-per-second cleanup code gets called even more closely to + once per second than it would otherwise. Fix for bug 943. -- cgit v1.2.3-54-g00ecf