cpython/Lib/multiprocessing
Victor Stinner e42339d3a0 [3.6] bpo-30595: Fix multiprocessing.Queue.get(timeout) (#2027) (#2881)
* 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>
(cherry picked from commit 1b7863c3b6)

* bpo-30595: Increase test_queue_feeder_donot_stop_onexc() timeout (#2148)

_test_multiprocessing.test_queue_feeder_donot_stop_onexc() now uses a
timeout of 1 second on Queue.get(), instead of 0.1 second, for slow
buildbots.
(cherry picked from commit 8f6eeaf21c)
2017-07-26 05:38:22 +02:00
..
dummy
__init__.py
connection.py
context.py
forkserver.py
heap.py
managers.py
pool.py
popen_fork.py
popen_forkserver.py
popen_spawn_posix.py
popen_spawn_win32.py
process.py [3.6] bpo-26762, bpo-31019: Backport multiprocessing fixes from master to 3.6 (#2879) 2017-07-26 04:48:56 +02:00
queues.py [3.6] bpo-30595: Fix multiprocessing.Queue.get(timeout) (#2027) (#2881) 2017-07-26 05:38:22 +02:00
reduction.py
resource_sharer.py
semaphore_tracker.py
sharedctypes.py
spawn.py
synchronize.py
util.py [3.6] bpo-24484: Avoid race condition in multiprocessing cleanup (GH-2159) (#2166) 2017-06-13 17:51:26 +02:00