Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a signaling bug in newDirectExecutorService() Also switch to impl…
…icit monitors to take advantage of biased locking. If thread A calls awaitTermination while there are no running tasks, then Thread B calls shutdown(). Thread A will never be woken up. ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=87280837
- Loading branch information
1 parent
99a1407
commit 1a5b0b9
Showing
2 changed files
with
69 additions
and
40 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