[issue32879] Race condition in multiprocessing Queue

Eric Meyer report at bugs.python.org
Mon Oct 7 15:50:44 EDT 2019


Eric Meyer <ericallenmeyer at gmail.com> added the comment:

multiprocessing.SimpleQueue is another workaround to this issue.

I agree the docs should be clearer about this. Additionally, it would be helpful if there was a way to optionally put an item on a multiprocessing.Queue and block until the item has been written to the pipe (or block until it is safe to mutate,garbage collect,etc the item in the calling thread).

----------
nosy: +highvelcty

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


More information about the Python-bugs-list mailing list