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

Implement I/O timeouts that specify the REALTIME clock. #4777

Merged

Commits on Aug 24, 2022

  1. Implement I/O timeouts that specify the REALTIME clock.

    POSIX specifies that functions like `nanosleep` use the REALTIME clock,
    so allow WASI `poll_oneoff` calls to use the REALTIME clock, at least
    for non-absolute intervals. POSIX specifies that the timeouts should not
    be affected by subsequent `clock_settime` calls, so they behave the same
    way as MONOTONIC clock requests, so we can implement them as monotonic
    requests.
    sunfishcode committed Aug 24, 2022
    Configuration menu
    Copy the full SHA
    cf301a0 View commit details
    Browse the repository at this point in the history