[tor-bugs] #10168 [Tor]: Use monotonic clocks for time as appropriate

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Nov 15 20:11:37 UTC 2013


#10168: Use monotonic clocks for time as appropriate
-------------------------+------------------------------------
 Reporter:  nickm        |          Owner:
     Type:  enhancement  |         Status:  new
 Priority:  normal       |      Milestone:  Tor: 0.2.5.x-final
Component:  Tor          |        Version:
 Keywords:               |  Actual Points:
Parent ID:               |         Points:
-------------------------+------------------------------------
 In some places, like or or, we want to use wall-clock time.  But in
 others, like timers and so forth, we should be using a monotonic timer so
 we just don't have to worry about time moving backwards.

 Libevent 2.1 has a subsystem for this; we could just use it as needed.  Or
 we could snarf the code and adapt it for our uses.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/10168>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list