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

Re: [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.6.x-final
    Component:  Tor          |    Version:
   Resolution:               |   Keywords:
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+--------------------------------
Changes (by nickm):

 * milestone:  Tor: 0.2.5.x-final => Tor: 0.2.6.x-final


Comment:

 We came up with a simple ratcheted implementation in
 tor_gettimeofday_cached_monotonic. Doing the right thing here will be a
 bit tricky, given how we need to cache times here too, so I think we're
 okay deferring to 0.2.6.

 (For an overview of how complicated the right thing is here, peruse
 Libevent's https://github.com/libevent/libevent/blob/master/evutil_time.c
 )

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/10168#comment:2>
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