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

Jake Tesler report at bugs.python.org
Fri May 10 14:25:20 EDT 2019


Jake Tesler <jake.tesler at gmail.com> added the comment:

The feature is supported on Windows: the file supporting Windows threading is `thread_nt.h`, not `thread_pthread.h` since Windows doesn't use POSIX-style threads.

Also it is different from threading.get_ident() - ident is a Python-issued unique identifier, TID is issued by the OS and is tracable system-wide.

----------

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


More information about the Python-bugs-list mailing list