patrick vrijlandt patrick.vrijla...@gmail.com added the comment:
I agree. Please close the ticket.
Thanks,
Patrick
2011/5/3 Raymond Hettinger rep...@bugs.python.org
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
This line should be protected by acquiring the
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11987
___
New submission from patrick vrijlandt patrick.vrijla...@gmail.com:
Line 154 in standard library's queue.py, in the definition of Queue.put() is:
self.unfinished_tasks += 1
This line should be protected by acquiring the all_tasks_done lock.
Theoretically, the increment could occur somewhere
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
assignee: - rhettinger
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11987
___
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
This line should be protected by acquiring the all_tasks_done lock.
All of three of the condition variables share the same underlying lock. The
increment occurs only with the lock has been acquired.
Theoretically, the