[issue36084] Threading: add builtin TID attribute to Thread objects

STINNER Victor report at bugs.python.org
Wed May 22 11:44:57 EDT 2019


STINNER Victor <vstinner at redhat.com> added the comment:

Currently, Threading.start() ignores _start_new_thread() return value which is an identifier. Is it the same value than threading.get_native_id()? It might be good to clarify _thread._start_new_thread() documentation since we now have 2 kinds of "identifier".

Later it might be interesting to attempt to support NetBSD, OpenBSD, and more operating systems. Well, that can be done... later :-)

----------

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


More information about the Python-bugs-list mailing list