[issue23886] faulthandler_user should use _PyThreadState_Current
Albert Zeyer
report at bugs.python.org
Fri Mar 25 20:13:55 EDT 2016
Albert Zeyer added the comment:
Yes exactly. Sorry if I was unclear before. :)
I mentioned SIGUSR1/2 because for a segfault, the signal handler will usually be executed in the same thread (although I'm not sure if that is guaranteed), so that was usually not a problem. But I used SIGUSR1 when my Python application is hanging and esp in that case I would like to know the current Python active thread.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23886>
_______________________________________
More information about the Python-bugs-list
mailing list