-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
In #85555 a Phaser was used to track ongoing renormalizations and wait for them to complete. However, this is a very complex way to do things. It turns out there's an easier way, as submitting a task to a threadpool returns a Future that can be used to track when the submitted task completes. There was also a bug in the ShortCircuitingRenormalizer class where the possibility of RejectedExecutionException was not being considered.
- Loading branch information
1 parent
d47642d
commit 0e713f1
Showing
1 changed file
with
53 additions
and
31 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