-
Notifications
You must be signed in to change notification settings - Fork 284
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
FileDescriptorEvent blocks I/O #1583
Comments
Turning sockets to a non-blocking mode doesn't help. ...
pair[0].blocking = false;
pair[1].blocking = false;
auto evt = createFileDescriptorEvent(pair[1].handle, FileDescriptorEvent.Trigger.any);
... |
Okay, I'll try to reproduce this tomorrow. |
The problem turned out to be that libevent looped infinitely in a call to |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looks like FileDescriptorEvent blocks other vibe.d I/O
This code
prints
end never exits the event loop.
Looks like task hangs on
writeFile()
.If to uncomment
destroy(evt)
then code works as expected.The text was updated successfully, but these errors were encountered: