[tor-bugs] #24427 [Core Tor/Tor]: Consider using other mach_*_time() functions for monotonic time on OSX

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Nov 27 14:50:35 UTC 2017


#24427: Consider using other mach_*_time() functions for monotonic time on OSX
------------------------------+--------------------------------
     Reporter:  nickm         |      Owner:  (none)
         Type:  enhancement   |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.3.3.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:  Sponsor8-can  |
------------------------------+--------------------------------
 As of OSX 10.9, there is a `mach_approximate_time()` which looks at first
 glance like it might be suitable for use as our `monotime_coarse`.

 As of OSX 10.12, there are `mach_continuous_absolute_time()` and
 `mach_continuous_approximate_time()`, which are supposed to keep counting
 while the system is sleeping.

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


More information about the tor-bugs mailing list