[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs