[issue27833] Process is locked when try to execute Queue.put() inside
Xiang Zhang
report at bugs.python.org
Thu Aug 25 05:40:32 EDT 2016
Xiang Zhang added the comment:
Guni, the behaviour is not consistent since your code is not that 'right'. You can not expect a not 'right' snippet to behave correctly. You can do what the programming guide says:
[1] consuming all items before join
[2] call q.cancel_join_thread
[3] ignore prs1.join since it will be automatically joined
Choose one and then the behaviour would be consistent.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue27833>
_______________________________________
More information about the Python-bugs-list
mailing list