Message368182
| Author |
vstinner |
| Recipients |
vstinner |
| Date |
2020年05月05日.17:12:14 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1588698734.65.0.223552100195.issue40522@roundup.psfhosted.org> |
| In-reply-to |
| Content |
_PyThreadState_GET() gets the current Python thread state from _PyRuntime.gilstate.tstate_current atomic variable.
When I experimented per-interpreter GIL (bpo-40512), I got issues with _PyThreadState_GET() which didn't return the expected Python thread state.
I propose to modify _PyThreadState_GET() in the exprimental isolated subinterpreters mode to get and set the current Python thread state using a Thread Local Storage: autoTSSkey. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2020年05月05日 17:12:14 | vstinner | set | recipients:
+ vstinner |
| 2020年05月05日 17:12:14 | vstinner | set | messageid: <1588698734.65.0.223552100195.issue40522@roundup.psfhosted.org> |
| 2020年05月05日 17:12:14 | vstinner | link | issue40522 messages |
| 2020年05月05日 17:12:14 | vstinner | create |
|