Skip to content
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

typo with (intended) use of CLOCK_MONOTONIC #77

Open
rgalonso opened this issue Jul 27, 2020 · 0 comments
Open

typo with (intended) use of CLOCK_MONOTONIC #77

rgalonso opened this issue Jul 27, 2020 · 0 comments

Comments

@rgalonso
Copy link

In the definition of void getTimeMonotonic, there is a section that checks whether to use CLOCK_REALTIME or CLOCK_MONOTONIC. This is conditional on the define CLOCK_MONOTINIC. Note the typo: monot-I-nic.

This is clearly a typo, but I'm not even sure whether CLOCK_MONOTONIC is the correct define. In another place in the code, there is a conditional block on _POSIX_MONOTONIC_CLOCK. The best explanation I found of one vs the other was a StackOverflow answer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant