◐ Shell
clean mode source ↗

gh-99113: Share the GIL via PyInterpreterState.ceval.gil by ericsnowcurrently · Pull Request #104203 · python/cpython

added 2 commits

May 5, 2023 09:50

This was referenced

May 5, 2023

erlend-aasland

carljm added a commit to carljm/cpython that referenced this pull request

May 5, 2023

jbower-fb pushed a commit to jbower-fb/cpython that referenced this pull request

May 8, 2023
…ngh-104203)

In preparation for a per-interpreter GIL, we add PyInterpreterState.ceval.gil, set it to the shared GIL for each interpreter, and use that rather than using _PyRuntime.ceval.gil directly.  Note that _PyRuntime.ceval.gil is still the actual GIL.