[issue46649] Propagate Python thread name to thread state structure

Gabriele N Tornetta report at bugs.python.org
Sat Feb 5 08:32:15 EST 2022


Gabriele N Tornetta <phoenix1987 at gmail.com> added the comment:

Thanks for mentioning that issue, it didn't come up in my search for a similar one. Indeed, with the proposals in bpo-15500 implemented, and the fact that native_thread_id is already in PyThreadState, retrieving the name should be easy and might make for a better implementation than what I'm proposing. Furthermore, doing this at the OS level would benefit an even larger set of tools. What pushed me to open this issue is the fact that this feature has been lacking for quite some time (indeed bpo-15500 dates back to 2012!), so I thought I'd propose a different approach in case it would get a quicker resolution this way.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46649>
_______________________________________


More information about the Python-bugs-list mailing list