aboutsummaryrefslogtreecommitdiff
path: root/changes
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-06-25 15:31:46 -0400
committerNick Mathewson <nickm@torproject.org>2010-06-25 15:31:46 -0400
commitad2d8ac073e576f538813a75183a3a8a477dfd5b (patch)
tree2b26c6794a1a25e0aae82ba33680ffe0fbddd2d6 /changes
parentdeb9e4aff7347860d5cb41426e4c02a4efc16253 (diff)
downloadtor-ad2d8ac073e576f538813a75183a3a8a477dfd5b.tar
tor-ad2d8ac073e576f538813a75183a3a8a477dfd5b.tar.gz
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.
Diffstat (limited to 'changes')
-rw-r--r--changes/once_per_sec4
1 files changed, 4 insertions, 0 deletions
diff --git a/changes/once_per_sec b/changes/once_per_sec
new file mode 100644
index 000000000..abab6da0c
--- /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.