Message364093
| Author |
vstinner |
| Recipients |
fabioz, vstinner |
| Date |
2020年03月13日.13:46:30 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1584107190.2.0.458907147199.issue35370@roundup.psfhosted.org> |
| In-reply-to |
| Content |
> 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". |
|
History
|
|---|
| 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 |
|