Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add `Runtime::enter` Add a `Runtime::enter` function that allows the caller to enter the runtime context without calling `run`, `spawn`, or `block_on`. This mirrors the `enter` function from Tokio 0.2's runtime. * Fix tests Fix the current_thread test that would fail all the time. Also fix the threadpool test which was failing intermittently. * Clean up unnecessary code
- Loading branch information
1 parent
f76cee7
commit 1d7f57a
Showing
4 changed files
with
84 additions
and
0 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