[issue23886] faulthandler_user should use _PyThreadState_Current

STINNER Victor report at bugs.python.org
Fri Mar 25 19:52:52 EDT 2016


STINNER Victor added the comment:

> I want that it marks the current Python thread correctly, and not the current sighandler thread.

Oooooook, I finally understood your use case. You want to know which threads hold the GIL. You don't care which thread got the signal.

----------

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


More information about the Python-bugs-list mailing list