-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Patch to compile on OSX #7
Comments
CLOCK_MONOTONIC doesn't advance during suspend. I think mach_continuous_time is the macos equivalent. |
The man page says it does advance during sleep
The man page doesn't mention suspend at all. |
https://linux.die.net/man/2/clock_gettime
|
Ugh I see, what a pain.
(FreeBSD is the same as OSX) |
Thanks, will merge. |
These are in addition to the one from issue #5 .
I don't know if Linux supports CLOCK_MONOTONIC with the same semantics as OSX - if it does that would be best to use IMO.
The #include can probably be dealt with via an #ifdef
The text was updated successfully, but these errors were encountered: