Message388386
> PyInterpreterState_New call and use PyThreadState *tstate = _PyThreadState_GET();
It is safe to call _PyThreadState_GET() before _PyGILState_Init().
_PyThreadState_GET() calls _Py_atomic_load_relaxed(&_PyRuntime.gilstate.tstate_current), it doesn't use autoTSSkey. Or did I miss something?
Are you building Python with --with-experimental-isolated-subinterpreters? |
|
Date |
User |
Action |
Args |
2021-03-09 21:13:45 | vstinner | set | recipients:
+ vstinner, JunyiXie |
2021-03-09 21:13:45 | vstinner | set | messageid: <1615324425.38.0.437567425581.issue43311@roundup.psfhosted.org> |
2021-03-09 21:13:45 | vstinner | link | issue43311 messages |
2021-03-09 21:13:45 | vstinner | create | |
|