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

Fix async accept with std.event.loop.accept #33

Closed
wants to merge 1 commit into from
Closed

Fix async accept with std.event.loop.accept #33

wants to merge 1 commit into from

Conversation

nandor-magyar
Copy link

This fixes an error.WouldBlock that is thrown using the async example

@nandor-magyar
Copy link
Author

Related: #30

This fixes an error.WouldBlock that is thrown using the async example
@zigster64
Copy link
Contributor

zigster64 commented Mar 15, 2022

Maybe

 const fd = blk: {
     if (std.io.is_async and !is_windows) { ...

... ah sorry, only just spotted the date on this thread. Thought it was last week for some reason, but its a year ago :(
apologies for bumping something so old

This pull request was closed.
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.

2 participants