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 Issue #22033: Reprs of most Python implemened classes now contain actual 2014-07-25 23:36:00 +03:00
__init__.py Issue #18999: Make multiprocessing use context objects. 2013-10-16 16:41:56 +01:00
connection.py Issue #28053: Applying refactorings, docs and other cleanup to follow. 2016-09-09 18:03:10 -05:00
context.py Issue #28779: multiprocessing.set_forkserver_preload() would crash the forkserver process if a preloaded module instantiated some multiprocessing objects such as locks. 2016-12-10 17:16:17 +01:00
forkserver.py [3.6] bpo-30185: avoid KeyboardInterrupt tracebacks in forkserver (GH-1319) (#1454) 2017-05-04 17:12:35 +02:00
heap.py Issue #28053: Applying refactorings, docs and other cleanup to follow. 2016-09-09 18:03:10 -05:00
managers.py Issue #28053: Applying refactorings, docs and other cleanup to follow. 2016-09-09 18:03:10 -05:00
pool.py bpo-28699: fix abnormal behaviour of pools in multiprocessing.pool (GH-882) 2017-03-29 12:50:28 +08:00
popen_fork.py Issue #23285: PEP 475 -- Retry system calls failing with EINTR. 2015-02-07 13:27:50 +00:00
popen_forkserver.py Issue #28053: Applying refactorings, docs and other cleanup to follow. 2016-09-09 18:03:10 -05:00
popen_spawn_posix.py Issue #28053: Applying refactorings, docs and other cleanup to follow. 2016-09-09 18:03:10 -05:00
popen_spawn_win32.py Issue #28053: Applying refactorings, docs and other cleanup to follow. 2016-09-09 18:03:10 -05:00
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 Issue #28053: Applying refactorings, docs and other cleanup to follow. 2016-09-09 18:03:10 -05:00
resource_sharer.py Issue #28053: Applying refactorings, docs and other cleanup to follow. 2016-09-09 18:03:10 -05:00
semaphore_tracker.py Issue #20976: pyflakes: Remove unused imports 2014-03-20 09:16:38 +01:00
sharedctypes.py Issue #28053: Applying refactorings, docs and other cleanup to follow. 2016-09-09 18:03:10 -05:00
spawn.py Issue #28779: multiprocessing.set_forkserver_preload() would crash the forkserver process if a preloaded module instantiated some multiprocessing objects such as locks. 2016-12-10 17:16:17 +01:00
synchronize.py Issue #22033: Reprs of most Python implemened classes now contain actual 2014-07-25 23:36:00 +03:00
util.py [3.6] bpo-24484: Avoid race condition in multiprocessing cleanup (GH-2159) (#2166) 2017-06-13 17:51:26 +02:00