[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #24427 [Core Tor/Tor]: Consider using other mach_*_time() functions for monotonic time on OSX
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs