-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Use the waiter backend on Windows
In async-process, we have a backend that assumes that child processes are object that can be `.await`ed on, rather than just being dependent on signals. At the moment it is only used with Linux and pidfd. Now, it is used with Windows and the waitable process backend. At the moment, the backend for `Waitable` in `async-io` is just backed by a blocking threadpool. However it may also be possible to have it use IOCP too with little extra overhead. See smol-rs/polling#141 for more information. As a side effect, this removes our dependency on `windows-sys`. Signed-off-by: John Nunley <dev@notgull.net>
- Loading branch information
Showing
5 changed files
with
88 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters