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

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


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

glibc 2.30 scheduled in August 2019 will finally provide a gettid() function!
* https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=NEWS;hb=HEAD
* http://man7.org/linux/man-pages/man2/gettid.2.html

Once it will be released, it would be interesting to use it rather than using a direct syscall.

----------

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


More information about the Python-bugs-list mailing list