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, chore: rename internal scheduler types #4945

Merged
merged 3 commits into from Aug 26, 2022

Commits on Aug 25, 2022

  1. rt, chore: rename internal scheduler types

    For historic reasons, the current-thread runtime's scheduler was named
    BasicScheduler and the multi-thread runtime's scheduler was named
    ThreadPool. To increase consistency, this patch renames the schedulers
    to mirror the runtime names. This patch also moves the scheduler
    implementations into a new `runtime::scheduler` module.
    carllerche committed Aug 25, 2022
    Copy the full SHA
    15aed9a View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2022

  1. Update tokio/src/runtime/scheduler/current_thread.rs

    Co-authored-by: Hayden Stainsby <hds@caffeineconcepts.com>
    carllerche and hds committed Aug 26, 2022
    Copy the full SHA
    3c7d5a8 View commit details
    Browse the repository at this point in the history
  2. Update tokio/src/task/blocking.rs

    Co-authored-by: Hayden Stainsby <hds@caffeineconcepts.com>
    carllerche and hds committed Aug 26, 2022
    Copy the full SHA
    acca3b4 View commit details
    Browse the repository at this point in the history