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 support for IO#timeout in io_read, io_write and io_wait. #296

Merged
merged 2 commits into from
Jan 2, 2024

Conversation

ioquatix
Copy link
Member

@ioquatix ioquatix commented Jan 1, 2024

IO#timeout was introduced recently and is a safety mechanism for dealing with blocking IO operations. We need to correctly handle it in the scheduler.

We also probably need to implement an upstream fix as it's not clear that wait_readable/wait_writable should raise an exception as the current implementation does.

Types of Changes

  • Bug fix.
  • New feature.

Contribution

@ioquatix ioquatix force-pushed the io-timeout-support branch from 54c4de1 to be8bd28 Compare January 1, 2024 23:41
@ioquatix ioquatix changed the title Fix handling of IO#timeout. Add support for IO#timeout in io_read, io_write and io_wait. Jan 2, 2024
@ioquatix ioquatix merged commit 176fca1 into main Jan 2, 2024
34 of 40 checks passed
@ioquatix ioquatix deleted the io-timeout-support branch January 2, 2024 00:49
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.

1 participant