[issue1021318] PyThreadState_Next not thread safe

Julien Danjou report at bugs.python.org
Wed Dec 11 08:46:21 EST 2019


Julien Danjou <julien at danjou.info> added the comment:

Victor, do you have an idea of how you would like this mutex to be exposed?

I see it only recently changed in Python 3.7 to be part of a structure, though this structure is not public AFAIU.

Is adding 2 new lock/unlock C functions good enough?

----------

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


More information about the Python-bugs-list mailing list