[tor-bugs] #28423 [Core Tor/Tor]: improve precision of finegrained periodic event scheduling?
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Nov 13 14:51:20 UTC 2018
#28423: improve precision of finegrained periodic event scheduling?
------------------------------+--------------------------------
Reporter: nickm | Owner: nickm
Type: defect | Status: assigned
Priority: Medium | Milestone: Tor: 0.4.0.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID: #28335
Points: | Reviewer:
Sponsor: Sponsor8 |
------------------------------+--------------------------------
The periodic.c events are scheduled with respect to the current time, via
event_add() with a timeout. But libevent's periodic events are scheduled
with respect to their last planned time, to prevent drift.
With the parent branch, I'm changing second_elapsed_callback() to just be
a regular periodic event. Will the change in scheduling mechanism break
anything?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28423>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list