-
-
Notifications
You must be signed in to change notification settings - Fork 92
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
gets() hangs on Windows #256
Comments
I cannot reproduce this with async 2.6.3, closing. |
Wow great, thanks for reporting back! |
It seems I was too quick to close this. The original example at the top still hangs on Windows. I'll try to make a PR with a new test. |
Hi, |
Yes, but it's slow. I started writing support for IOCP in |
Cool, thank you for the response. |
Hi,
Running this on Mac and Linux:
outputs:
But on Windows it just outputs:
and then hangs. It seems the call to
input.gets()
blocks?I'm running the Windows code in a Github Workflow:
Microsoft Windows Server 2022, 10.0.20348
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x64-mingw-ucrt]
Using async 2.6.2
Using async-io 1.35.0
Using bundler 2.4.13
The text was updated successfully, but these errors were encountered: