-
-
Notifications
You must be signed in to change notification settings - Fork 737
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve conditional waiting and shutdown handling (#2269)
* Make use of conditional variables instead of polling loops * Add awaitShutdown * Improve shutdown logic to allow awaitShutdown to work * Fire ShutdownEvent when requester is also shutdown * Ensure shutdown is idempotent
- Loading branch information
1 parent
299f4d0
commit 30ba384
Showing
6 changed files
with
264 additions
and
74 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
Oops, something went wrong.