[issue18808] Thread.join returns before PyThreadState is destroyed

Antoine Pitrou report at bugs.python.org
Sat Aug 31 20:44:23 CEST 2013


Antoine Pitrou added the comment:

Ok, here is a new patch observing the timeout parameter. I've changed the implementation strategy a bit, it seems hopefully sane.

There's a remaining (slightly bordeline) issue: the thread state lock isn't reinitialized on fork(). Should it?

----------
Added file: http://bugs.python.org/file31537/threadstate_join_2.patch

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


More information about the Python-bugs-list mailing list