-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Summary of changes Detects a SIGINT signal from the OS and performs a graceful shutdown. ### `trace-to-events` and `digitiser-aggregator` For trace-to-events and digitiser-aggregator, both the producer thread, and the main thread listens for SIGINT. - When the producer thread hears it, it closes the MPSC channel and flushes all messages (eventlists and frames respectively) before terminating the thread. - When the main-thread hears it, it waits for the producer thread to end, then terminates. ### `nexus writer` When the signal is received, the main (and only) thread blocks, moves any nxs files in the `move_cache` queue, then terminates. ## Instruction for review/testing General code review. Tested on simulated data. Closes #270.
- Loading branch information
1 parent
0705b8f
commit 5d98c33
Showing
6 changed files
with
177 additions
and
61 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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