[issue42969] pthread_exit & PyThread_exit_thread from PyEval_RestoreThread etc. are harmful
STINNER Victor
report at bugs.python.org
Mon Jun 28 19:49:56 EDT 2021
STINNER Victor <vstinner at python.org> added the comment:
See also a discussion about the usefulness of daemon threads:
https://github.com/python-trio/trio/issues/2046
I'm more in favor of deprecating daemon threads (in any interpreter, not only in subinterpreters). The current implementation is too fragile. There are still corner cases like the one described in this issue.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42969>
_______________________________________
More information about the Python-bugs-list
mailing list