diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-07-10 11:43:17 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-10 11:43:17 (GMT) |
commit | 69e41807f0851ff1107f949dcdc94dbb0af32acd (patch) | |
tree | 6ad25925ab8d83305ec499600340f1af3bb2f347 /Misc/NEWS.d/next | |
parent | 68c3724651776f4ae90ed24d70cef6fd45bc7db5 (diff) | |
download | cpython-69e41807f0851ff1107f949dcdc94dbb0af32acd.zip cpython-69e41807f0851ff1107f949dcdc94dbb0af32acd.tar.gz cpython-69e41807f0851ff1107f949dcdc94dbb0af32acd.tar.bz2 |
bpo-30886: Fix multiprocessing.Queue.join_thread() (#2642) (#2644)
multiprocessing.Queue.join_thread() now waits until the thread
completes, even if the thread was started by the same process which
created the queue.
Fix the following warning which occurs randomly when running
test_handle_called_with_mp_queue of test_logging.QueueListenerTest:
Warning -- threading_cleanup() failed to cleanup -1 threads after 4 sec (count: 0, dangling: 1)
(cherry picked from commit 3b69d911c57ef591ac0c0f47a66dbcad8337f33a)
Diffstat (limited to 'Misc/NEWS.d/next')
-rw-r--r-- | Misc/NEWS.d/next/Library/2017-07-10-12-14-22.bpo-30886.nqQj34.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2017-07-10-12-14-22.bpo-30886.nqQj34.rst b/Misc/NEWS.d/next/Library/2017-07-10-12-14-22.bpo-30886.nqQj34.rst new file mode 100644 index 0000000..fedd6cd --- /dev/null +++ b/Misc/NEWS.d/next/Library/2017-07-10-12-14-22.bpo-30886.nqQj34.rst @@ -0,0 +1,3 @@ +Fix multiprocessing.Queue.join_thread(): it now waits until the thread +completes, even if the thread was started by the same process which created +the queue. |