[issue25658] PyThread assumes pthread_key_t is an integer, which is against POSIX
Masayuki Yamamoto
report at bugs.python.org
Sun Apr 30 07:52:00 EDT 2017
Masayuki Yamamoto added the comment:
Victor,
The tracemalloc module is not available on platforms that provides own TLS implementation that uses PyMem_* functions. In the own implementation, it occurs deadlock by recursion call in thread key search. PyOnceVar API handles extendable array by using PyMem_Reallloc, therefore, I think TSS key initialization using the API will raise deadlock likewise.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25658>
_______________________________________
More information about the Python-bugs-list
mailing list