[issue4660] multiprocessing.JoinableQueue task_done() issue

Brian report at bugs.python.org
Mon Jun 29 07:55:06 CEST 2009


Brian <brian at merrells.org> added the comment:

Filipe,

Thanks for the confirmation.  While I think the second option (ie 
properly protecting JoinableQueue.put()) is best, the first option 
(simply removing the 'task_done() called too many times' check) should 
be safe (presuming your get() and put() calls actually match).  

Jesse, any luck sorting out the best fix for this?  I really think that 
JoinableQueue (in my opinion the most useful form of multiprocessing 
queues) can't be guaranteed to work on any system right now.

-brian

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4660>
_______________________________________


More information about the Python-bugs-list mailing list