-
Notifications
You must be signed in to change notification settings - Fork 356
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
…752) Deletion of the dispatch is done synchronously in the DispatchExited event handler, need to make it async to avoid blocking the event handler. Moved content of DispatchExited to a go routine (dispatchExited) except for accesses to m.reqList which should remain to avoid the need for additional synchronization. Identified one other synchronous call to m.removeDispatchEnvironment that needed to be made async. Added comments to other call sites indicating they are already invoked from an existing go routine so are non-blocking. Extracted the m.reqList use from startLauncherJob go routine back into the event handler to avoid the need for additional synchronization.
- Loading branch information
1 parent
053c172
commit 566c224
Showing
1 changed file
with
101 additions
and
72 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