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

Signal refactor #2835

Merged
merged 9 commits into from Sep 22, 2020
Merged

Signal refactor #2835

merged 9 commits into from Sep 22, 2020

Commits on Sep 13, 2020

  1. signal: add benchmark

    ipetkov committed Sep 13, 2020
    Copy the full SHA
    a8427db View commit details
    Browse the repository at this point in the history
  2. runtime: refactor the time and io modules

    * Merge the runtime::{io, time} modules into runtime::driver
    * Create a concret Driver type which encompases the conditionally
      compiled `io` and `time` drivers
    * This avoids having other code directly refer to
      `runtime::time::Driver` etc. so that other drivers can be added
      transparently
    ipetkov committed Sep 13, 2020
    Copy the full SHA
    ee0bcf0 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    7afcb98 View commit details
    Browse the repository at this point in the history
  4. signal: move wakeup and dispatch logic into the signal-driver

    * This offers everal benefits:
     - fewer spurious wakeups: tasks blocked on a `Signal` instance will
       only get woken up when their respective signal is received rather
       than on *any* signal
     - using fewer file descriptors: we now need one file descriptor *per
       driver/runtime* rather than one per `Signal` instance for receiving
       wakeups
    ipetkov committed Sep 13, 2020
    Copy the full SHA
    68b526b View commit details
    Browse the repository at this point in the history
  5. signal: couple SignalDriver with IoDriver

    * This avoids lazy registration and synchronization during every turn
    ipetkov committed Sep 13, 2020
    Copy the full SHA
    e5e4ca5 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2020

  1. Copy the full SHA
    773f072 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    f322a86 View commit details
    Browse the repository at this point in the history
  3. fix loom

    ipetkov committed Sep 14, 2020
    Copy the full SHA
    d976100 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2020

  1. Copy the full SHA
    f3e406e View commit details
    Browse the repository at this point in the history