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

Eryk Sun report at bugs.python.org
Wed May 22 07:10:04 EDT 2019


Eryk Sun <eryksun at gmail.com> added the comment:

> The pthread_self subroutine returns the calling thread's ID.

I don't know much about AIX, but according to the docs [1] the kernel thread ID should be thread_self(), which is not the same as pthread_self().

[1]: https://www.ibm.com/support/knowledgecenter/en/ssw_aix_72/com.ibm.aix.basetrf2/thread_self.htm

----------
nosy: +eryksun

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


More information about the Python-bugs-list mailing list