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

wasi: apply wasm_runtime_begin_blocking_op to poll as well #3080

Merged
merged 1 commit into from
Jan 25, 2024

Commits on Jan 24, 2024

  1. wasi: apply wasm_runtime_begin_blocking_op to poll as well

    While we used a different approach for poll_oneoff [1],
    the implementation works only when the poll list includes
    an absolute clock event. That is, if we have a thread which is
    polling on descriptors without a timeout, we fail to terminate
    the thread.
    
    This commit fixes it by applying wasm_runtime_begin_blocking_op
    to poll as well.
    
    [1] bytecodealliance#1951
    yamt committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    e1e89bb View commit details
    Browse the repository at this point in the history