[issue29640] _PyThreadState_Init and fork race leads to inconsistent key list

Petr Viktorin report at bugs.python.org
Sun May 20 12:28:17 EDT 2018


Petr Viktorin <encukou at gmail.com> added the comment:

pthread is not generally compatible with int, so it can't be used with Python 2's API.
This was changed in py3 with PEP 539, which however makes it so that the old TLS API is only available if PTHREAD_KEY_T_IS_COMPATIBLE_WITH_INT.

----------

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


More information about the Python-bugs-list mailing list