gh-96471: Add threading queue shutdown by EpicWink · Pull Request #104750 · python/cpython

and others added 4 commits

May 6, 2023 14:34
* Include raised exception in docstrings
* Handle queue shutdown in task_done and join
* Factor out queue-state checks and updates to methods
* Logic fixes in qsize, get and shutdown
* Don't set unfinished_tasks to 0 on immediate shutdown
* Updated tests
* Document feature added in 3.13

gvanrossum

@EpicWink

@EpicWink

gvanrossum

@EpicWink

@EpicWink

@EpicWink

@EpicWink

Also shut down before put-join in shutdown-put-join tests. Also remove indent

gvanrossum

@EpicWink

@EpicWink

gvanrossum

fsc-eriker pushed a commit to fsc-eriker/cpython that referenced this pull request

Feb 14, 2024
Co-authored-by: Duprat <yduprat@gmail.com>

This was referenced

Feb 20, 2024

@aisk aisk mentioned this pull request

Feb 28, 2024

AlexWaygood

This was referenced

Apr 4, 2024

gvanrossum pushed a commit that referenced this pull request

Apr 10, 2024
(This is a small tweak of the original gh-104750 which added shutdown.)

@EpicWink EpicWink deleted the threading-queue-shutdown-immediate-consume branch

April 11, 2024 01:09

diegorusso pushed a commit to diegorusso/cpython that referenced this pull request

Apr 17, 2024