-
Notifications
You must be signed in to change notification settings - Fork 634
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce current_thread API surface (#717)
This patch removes the concept of daemon tasks from the current thread executor as well as the global function to cancel all spawned tasks. If appropriate, these APIs can be brought back at a later time, but in an effort to initially be conservative and ship a release, they are being held back. The main hesitation being that these APIs are related to shutting down an executor and do not seem appropriate to be accessible from a global context. If they remain accessible, then once the executor implementation is pluggable, it will require that all executors implement the same logic. Before making this commitment, an analysis of real use cases should be done.
- Loading branch information
1 parent
0f6c661
commit 01a4ccf
Showing
2 changed files
with
47 additions
and
167 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
Oops, something went wrong.