[tor-bugs] #29640 [Core Tor/Tor]: Improve the monotonic time documentation in compat_time.c

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Mar 4 13:41:40 UTC 2019


#29640: Improve the monotonic time documentation in compat_time.c
------------------------------------+------------------------------------
 Reporter:  teor                    |          Owner:  teor
     Type:  defect                  |         Status:  needs_review
 Priority:  Medium                  |      Milestone:  Tor: 0.4.1.x-final
Component:  Core Tor/Tor            |        Version:  Tor: 0.2.9.1-alpha
 Severity:  Normal                  |     Resolution:
 Keywords:  tor-time, 040-backport  |  Actual Points:  0.1
Parent ID:                          |         Points:  0.1
 Reviewer:                          |        Sponsor:
------------------------------------+------------------------------------

Comment (by nickm):

 > * on Windows, where the time is not always monotonic, due to an OS bug
 > * on platforms without specialised monotonic functions, during a wall
 clock time change

 FWIW, I think our code does some ratcheting to ensure that even if we're
 basing our code on non-monotonic timers, our outputs never move backwards.

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


More information about the tor-bugs mailing list