Skip to content

event: implement source muxing on Windows #512

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

Merged
merged 1 commit into from
Aug 22, 2019
Merged

event: implement source muxing on Windows #512

merged 1 commit into from
Aug 22, 2019

Conversation

adierking
Copy link
Contributor

Implement the cases in _dispatch_unote_register_muxed() and
_dispatch_unote_unregister_muxed() for when multiple event sources are
open on a handle and we need to combine them.

The test suite doesn't hit these codepaths anywhere and we haven't run
into issues with Foundation yet, so I added a dispatch_io_muxed test
which opens multiple sources on a file/pipe/socket and checks that
events fire correctly.

Implement the cases in `_dispatch_unote_register_muxed()` and
`_dispatch_unote_unregister_muxed()` for when multiple event sources are
open on a handle and we need to combine them.

The test suite doesn't hit these codepaths anywhere and we haven't run
into issues with Foundation yet, so I added a dispatch_io_muxed test
which opens multiple sources on a file/pipe/socket and checks that
events fire correctly.
@adierking
Copy link
Contributor Author

cc @compnerd @ktopley-apple

@ktopley-apple
Copy link
Contributor

@swift-ci please test

@ktopley-apple ktopley-apple merged commit 3da29dd into swiftlang:master Aug 22, 2019
rokhinip pushed a commit that referenced this pull request Nov 5, 2021
event: implement source muxing on Windows
Signed-off-by: Rokhini Prabhu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants