This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author JunyiXie
Recipients JunyiXie
Date 2021-02-25.08:40:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1614242448.01.0.710377018909.issue43311@roundup.psfhosted.org>
In-reply-to
Content
PyInterpreterState_New call and use PyThreadState *tstate = _PyThreadState_GET();

_PyRuntime.gilstate.autoTSSkey has to be initialized before pthread_getspecific() or pthread_setspecific() can be used.

_PyRuntime.gilstate.autoTSSkey create in _PyGILState_Init. PyInterpreterState_New called before _PyGILState_Init.
History
Date User Action Args
2021-02-25 08:40:48JunyiXiesetrecipients: + JunyiXie
2021-02-25 08:40:48JunyiXiesetmessageid: <1614242448.01.0.710377018909.issue43311@roundup.psfhosted.org>
2021-02-25 08:40:48JunyiXielinkissue43311 messages
2021-02-25 08:40:47JunyiXiecreate