Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rt: fix panic in JoinHandle::abort() when called from other thread (#…
…3672) When aborting a task registered with a current-thread scheduler from off runtime, the tasks may not be immediately unlinked from the runtime. Instead, send a message to the runtime, notifying it to remove the aborted task. Fixes #3662
- Loading branch information
Showing
2 changed files
with
143 additions
and
19 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