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: store driver handles next to scheduler handle #5008

Merged
merged 1 commit into from
Sep 13, 2022

Commits on Sep 13, 2022

  1. rt: store driver handles next to scheduler handle

    In an earlier PR (#4629), driver handles were moved into the scheduler
    handle (`Spawner`). This was done to let the multi-threaded scheduler
    have direct access to the thread pool spawner.
    
    However, we are now working on a greater decoupling of the runtime
    internals. All drivers and schedulers will be peers, stored in a single
    thread-local variable, and the scheduler will be passed the full
    runtime::Handle. This will achieve the original goal of giving the
    scheduler access to the thread-pool while also (hopefully) simplifying
    other aspects of the code.
    carllerche committed Sep 13, 2022
    Configuration menu
    Copy the full SHA
    2f29b39 View commit details
    Browse the repository at this point in the history