[New-bugs-announce] [issue27422] Deadlock when mixing threading and multiprocessing

Martin Ritter report at bugs.python.org
Thu Jun 30 12:23:23 EDT 2016

New submission from Martin Ritter:

When creating a multiprocessing.Process in a threaded environment I get deadlocks waiting, I guess waiting for the lock to flush the output.

I attached a minimal example of the problem which hangs for me starting with 4 threads.

files: test_threadfork.py
messages: 269593
nosy: Martin Ritter
priority: normal
severity: normal
status: open
title: Deadlock when mixing threading and multiprocessing
type: crash
versions: Python 3.5
Added file: http://bugs.python.org/file43588/test_threadfork.py

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list