[issue18418] Thread.isAlive() sometimes True after fork

A. Jesse Jiryu Davis report at bugs.python.org
Mon Jul 15 16:17:39 CEST 2013


A. Jesse Jiryu Davis added the comment:

Charles-François, I agree that many guarantees are impossible to enforce in a multithreaded application that calls fork().

But the threading module does try to guarantee, after a fork, that isAlive() is False for all threads but one. I claim that it can more reliably provide this guarantee with my patch applied.

----------

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


More information about the Python-bugs-list mailing list