New GitHub issue #100228 from gpshead:<br>

<hr>

<pre>
os.fork() in a multi-threaded application is a likely source of deadlocks on many platforms. We should raise a warning when people call os.fork() from a process that we know has other threads running.

This came from discussion in https://discuss.python.org/t/switching-default-multiprocessing-context-to-spawn-on-posix-as-well/21868/, though I believe many of us have pondered doing it in the past.
</pre>

<hr>

<a href="https://github.com/python/cpython/issues/100228">View on GitHub</a>
<p>Labels: type-feature</p>
<p>Assignee: </p>