Message364093
> Maybe better would be the thread id so that the tstate structure is not needed there.
PyInterpreterState.tstate_head allows to iterate on all thread states, but I'm not aware of an API to get a PyThreadState from its identifier (tstate->id).
--
See also bpo-1021318: "PyThreadState_Next not thread safe". |
|
Date |
User |
Action |
Args |
2020-03-13 13:46:30 | vstinner | set | recipients:
+ vstinner, fabioz |
2020-03-13 13:46:30 | vstinner | set | messageid: <1584107190.2.0.458907147199.issue35370@roundup.psfhosted.org> |
2020-03-13 13:46:30 | vstinner | link | issue35370 messages |
2020-03-13 13:46:30 | vstinner | create | |
|