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

rt: signal driver now uses I/O driver directly #5125

Merged
merged 2 commits into from Oct 26, 2022

Commits on Oct 25, 2022

  1. rt: signal driver now uses I/O driver directly

    The signal driver uses a `UnixStream` to receive signal events.
    Previously, the signal driver used `PollEvented` internally in order 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.
    carllerche committed Oct 25, 2022
    Copy the full SHA
    2d058f4 View commit details
    Browse the repository at this point in the history
  2. fix tests

    carllerche committed Oct 25, 2022
    Copy the full SHA
    a416f78 View commit details
    Browse the repository at this point in the history