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

Calculate the duration when timeout is absolute #4682

Merged
merged 1 commit into from
May 14, 2024
Merged

Conversation

maminrayej
Copy link
Contributor

This PR fixes the issue when calling clock_nanosleep with an absolute time via the SUBSCRIPTION_CLOCK_ABSTIME flag. Previously the flag was ignored and the timeout passed to this function was mistakenly treated as a duration where it was in fact an absolute time in the future.

Resolves #4671 and #4680.

@maminrayej maminrayej merged commit d65b674 into main May 14, 2024
61 checks passed
@maminrayej maminrayej deleted the fix-abs-time-sleep branch May 14, 2024 11:35
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

Successfully merging this pull request may close these issues.

time.sleep() using Wasmer
2 participants