[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #28423 [Core Tor/Tor]: improve precision of finegrained periodic event scheduling?
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs