SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 88 Python

gh-99113: A Per-Interpreter GIL! (gh-104210)

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 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.
E
Eric Snow committed
5c9ee498c6f4b75e0e020f17b6860309c3b7e11e
Parent: 942482c
Committed by GitHub <noreply@github.com> on 5/8/2023, 7:15:09 PM