-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. The `queue.Full` exception is never raised, so expecting it does not make sense. An exception that can happen is pickle error, but it's safer to rather catch all exceptions. 2. When child process puts a message, the parent process does not process what remains in the queue. This commit adds a drain mode. 3. React to KeyboardInterrupt on the main process.
- Loading branch information
Showing
1 changed file
with
17 additions
and
11 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