bpo-30966: Add multiprocessing.SimpleQueue.close() by vstinner · Pull Request #2760 · python/cpython
Navigation Menu
- Notifications You must be signed in to change notification settings
- Fork 34.5k
Conversation
* Add a new close() method to multiprocessing.SimpleQueue to explicitly close the queue. * Operation on a closed queue raises a ValueError. * Remove the SimpleQueue._poll attribute: use self._reader.poll()
This file contains hidden or 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