[issue8037] multiprocessing.Queue's put() not atomic thread wise
Vilnis Termanis
report at bugs.python.org
Tue Mar 2 03:02:48 CET 2010
Vilnis Termanis <vilnis.termanis at googlemail.com> added the comment:
Hi Meador,
I apologise: I really shouldn't have called it a patch. It's just to show one way that I've found fixes the problem (but presumably reduces performance in other cases, hence the suggestion & wait for feedback on the issue). I'm not really experienced with Python (nor am I an experienced / particularly good developer in general) so it's probably safer to treat me just as a regular user who stumbled upon a problem. :) (I'm definitely not shying away from "ticking all the boxes" but I don't see that there is any point in me trying to yet.)
Regards,
VT
PS: I've re-attached the example "fix" with the diff the right way round (sorry).
----------
Added file: http://bugs.python.org/file16412/lock_suggestion.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8037>
_______________________________________
More information about the Python-bugs-list
mailing list