[issue874900] threading module can deadlock after fork

Gregory P. Smith report at bugs.python.org
Fri Jul 18 01:33:47 CEST 2008


Gregory P. Smith <greg at krypto.org> added the comment:

Jesse: thanks for doing the py3k merge.

Antoine: yeah it might be safer to use _get_ident() but since the
len(_active) == 1 assert is not firing we're probably fine as is.

A change to this that I was considering making to this code has been
attached as threading-874900-improvement-gps01.diff.

-gps

Added file: http://bugs.python.org/file10932/threading-874900-improvement-gps01.diff

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


More information about the Python-bugs-list mailing list