[issue40860] Exception in multiprocessing/context.py under load

Arkady report at bugs.python.org
Mon Aug 10 05:04:14 EDT 2020


Arkady <larytet at gmail.com> added the comment:

"documentation of thread safety" 

I find it surprising that a module called "multiprocessing" has not a thread safe API.

If this is inevitable, I guess that's the life. I expect nothing less that a bold bright red font at the top of the document page. 

Protecting a call to join() with a mutex would impact latency of the API: the slowest subprocess can win the race.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40860>
_______________________________________


More information about the Python-bugs-list mailing list