Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rt: signal driver now uses I/O driver directly (#5125)
The signal driver uses a `UnixStream` to receive signal events. Previously, the signal driver used `PollEvented` internally to receive events on the `UnixStream`. However, using `PollEvented` from within a runtime driver created a circular link between the runtime and the `PollEvented` instance. This patch replaces `PollEvented` usage in favor of accessing the I/O driver directly. The I/O driver now reserves a token for signal-related events and tracks signal readiness internally. The signal driver queries the I/O driver to check for signal-related readiness.
- Loading branch information
1 parent
1ca17be
commit ec66a92
Showing
5 changed files
with
58 additions
and
55 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