Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rt: rename some confusing internal variables/fns (#5151)
This patch does some internal renames to remove some confusion. * `allow_blocking` is renamed to `allow_block_in_place` to indicate that the variable only impacts the `block_in_place()` function. * `context::try_enter` is renamed to `context::try_set_current` to disambiguate between the various "enter" functions. This function only sets the runtime handle used by Tokio's public APIs. Entering a runtime is a separate operation. # Please enter the commit message for your changes. * `scheduler::Handle::enter()` is removed to consolidate methods that set the current context.
- Loading branch information
1 parent
a9d5eb2
commit b1f40f4
Showing
8 changed files
with
35 additions
and
37 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
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