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

Specify behavior when sources are added to multiple Pollers or Poller-like constructs #81

Closed
notgull opened this issue Jan 26, 2023 · 0 comments · Fixed by #136
Closed

Comments

@notgull
Copy link
Member

notgull commented Jan 26, 2023

As far as I can tell, from some testing that I just ran, when a source is registered into multiple Pollers, any events that originate from the source will appear on every Poller. Do we want to specify this behavior as guaranteed, or do we want to go in another direction.

The reason why I ask is because, as of Windows 8.1, there is a WSAEventSelect function that is stable, documented and would require no external dependencies over the current wepoll backend. However, it comes with the caveat that every socket can only be registered in one WSAEVENT at a time. If we decide that we want to guarantee the current general behavior, we could not switch to this.

Interaction with mio isn't an issue, since mio says that being registered to mio::Poll is exclusive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant