-
Notifications
You must be signed in to change notification settings - Fork 721
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I. Use the abcShutdown field to shut down the feeder thread. The TMVar would deadlock if the thread dies without putting it. II. Don't use a pattern that might fail to match in the signal handler. Relying on the runtime guarantee would be fragile. III. Make tracers potentially available within signal handlers. This logs the event better. IV. Report on stdout and stderr in the event of failed tracer init. V. Leave signals unmasked in the signal handlers. VI. Re-add killThread of weak main TID. The interpretation of the lingering thread as a justified artifact of receipt of signal before calling walletBenchmark is not considered proper. This re-incorporates the earlier-removed killThread.
- Loading branch information
1 parent
a1e0c57
commit 8ab6c14
Showing
3 changed files
with
75 additions
and
13 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
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