This repository has been archived by the owner on Jun 26, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added graceful argument on Service.stop method
This change adds a graceful shutdown arugment to the Service.stop method in order to allow a service to gracefully wait for threads to shutdown. Since threadgroup already supports a graceful shutdown argument for its stop() method, it is trivial to support. Added unit tests to demonstrate the expected behavior between graceful and ungraceful service stop()s. Change-Id: Ibc0df09daef5e2a07f232543f44f2fc4d203511c Closes-Bug: 1406638
- Loading branch information
Showing
2 changed files
with
37 additions
and
3 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