]> granicus.if.org Git - python/commit
bpo-30595: Fix multiprocessing.Queue.get(timeout) (#2027)
authorVictor Stinner <victor.stinner@gmail.com>
Sat, 10 Jun 2017 11:10:13 +0000 (13:10 +0200)
committerGitHub <noreply@github.com>
Sat, 10 Jun 2017 11:10:13 +0000 (13:10 +0200)
commit1b7863c3b6519c6e134c28cab8b8af0dea43e375
treef4c245335c1bd7de1f5bebb1f6dd99a44d569984
parent5f31d5cf6efa8c304d352e34f9f2a1ed0074298e
bpo-30595: Fix multiprocessing.Queue.get(timeout) (#2027)

multiprocessing.Queue.get() with a timeout now polls its reader in
non-blocking mode if it succeeded to aquire the lock but the acquire
took longer than the timeout.

Co-Authored-By: Grzegorz Grzywacz <grzgrzgrz3@gmail.com>
Lib/multiprocessing/queues.py
Misc/NEWS