FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-99113: A Per-Interpreter GIL! by ericsnowcurrently · Pull Request #104209 · python/cpython · GitHub

/ cpython Public

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

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

gh-99113: A Per-Interpreter GIL!#104209
ericsnowcurrently wants to merge 17 commits into
python:mainfrom
ericsnowcurrently:per-interpreter-gil-old

Conversation

ericsnowcurrently commented May 5, 2023
edited by bedevere-bot
Loading

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.)

Copy link
Copy Markdown
Member Author

oops, this is the wrong branch

ericsnowcurrently deleted the per-interpreter-gil-old branch May 5, 2023 18:00
ericsnowcurrently restored the per-interpreter-gil-old branch May 5, 2023 18:00
ericsnowcurrently deleted the per-interpreter-gil-old branch May 5, 2023 18:00
ericsnowcurrently restored the per-interpreter-gil-old branch May 5, 2023 18:00
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL