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

Add test for CLOCK_MONOTONIC support #683

Merged
merged 1 commit into from
Mar 30, 2023

Conversation

lawadr
Copy link
Contributor

@lawadr lawadr commented Mar 24, 2023

Instead of always using CLOCK_MONOTONIC, use POSIX feature testing to determine support at compile-time, or if necessary at run-time using sysconf. If not supported, falls back to CLOCK_REALTIME.

Instead of always using CLOCK_MONOTONIC, use POSIX feature testing to
determine support at compile-time, or if necessary at run-time using
sysconf. If not supported, falls back to CLOCK_REALTIME.
@nmoinvaz nmoinvaz merged commit 94e474a into zlib-ng:develop Mar 30, 2023
@lawadr lawadr deleted the monotonic-clock-check branch March 30, 2023 23:09
@nmoinvaz nmoinvaz added the platform specific Issue only affects a specific platform label Apr 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform specific Issue only affects a specific platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants