Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[3.6] bpo-30886: Fix multiprocessing.Queue.join_thread() (#2642)#2643

Merged
vstinner merged 1 commit into
python:3.6python/cpython:3.6from
vstinner:mp_queue_join_thread36Copy head branch name to clipboard
Jul 10, 2017
Merged

[3.6] bpo-30886: Fix multiprocessing.Queue.join_thread() (#2642)#2643
vstinner merged 1 commit into
python:3.6python/cpython:3.6from
vstinner:mp_queue_join_thread36Copy head branch name to clipboard

Conversation

@vstinner

Copy link
Copy Markdown
Member

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 3b69d91)

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 3b69d91)
@vstinner vstinner requested a review from pitrou July 10, 2017 10:47
@vstinner vstinner merged commit 7f3d65d into python:3.6 Jul 10, 2017
@vstinner vstinner deleted the mp_queue_join_thread36 branch July 10, 2017 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.