-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rt: rm coop::budget from
LocalSet::run_until
(#5155)
The `LocalSet::run_until` future is just a "plain" future that should run on a runtime that already has a coop budget. In other words, the `run_until` future should not get its own budget but should inherit the calling task's budget. Getting this behavior is done by removing the call to `budget` in `run_until`.
- Loading branch information
1 parent
a051ed7
commit ca8e176
Showing
2 changed files
with
51 additions
and
1 deletion.
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