Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rt, chore: rename internal scheduler types (#4945)
For historical reasons, the current-thread runtime's scheduler was named BasicScheduler and the multi-thread runtime's scheduler were named ThreadPool. This patch renames the schedulers to mirror the runtime names to increase consistency. This patch also moves the scheduler implementations into a new `runtime::scheduler` module.
- Loading branch information
1 parent
218f262
commit a3411a4
Showing
25 changed files
with
125 additions
and
120 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
pub(crate) mod current_thread; | ||
pub(crate) use current_thread::CurrentThread; | ||
|
||
cfg_rt_multi_thread! { | ||
pub(crate) mod multi_thread; | ||
pub(crate) use multi_thread::MultiThread; | ||
} |
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
Oops, something went wrong.