Skip to content

gh-99113: A Per-Interpreter GIL! - #104209

Closed
ericsnowcurrently wants to merge 17 commits into
python:mainfrom
ericsnowcurrently:per-interpreter-gil-old
Closed

ericsnowcurrently wants to merge 17 commits into
python:mainfrom
ericsnowcurrently:per-interpreter-gil-old

Conversation

@ericsnowcurrently

@ericsnowcurrently ericsnowcurrently commented May 5, 2023 •

Copy link
Copy Markdown
Member

This is the culmination of PEP 684 (and of my 8-year long multi-core Python project)!

Each subinterpreter may now be created with its own GIL (via Py_NewInterpreterFromConfig()). If not so configured then the interpreter will share with the main interpreter--the status quo since the subinterpreters were added decades ago. The main interpreter always has its own GIL and subinterpreters from Py_NewInterpreter() will always share with the main interpreter.

(FYI, I've split up the original gh-99114 into multiple PRs, with this one being the final one in the chain.)

@ericsnowcurrently

Copy link
Copy Markdown
Member Author

oops, this is the wrong branch

@ericsnowcurrently
ericsnowcurrently deleted the per-interpreter-gil-old branch May 5, 2023 18:00
@ericsnowcurrently
ericsnowcurrently restored the per-interpreter-gil-old branch May 5, 2023 18:00
@ericsnowcurrently
ericsnowcurrently deleted the per-interpreter-gil-old branch May 5, 2023 18:00
@ericsnowcurrently
ericsnowcurrently restored the per-interpreter-gil-old branch May 5, 2023 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant