]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40513: Per-interpreter GIL (GH-19943)
authorVictor Stinner <vstinner@python.org>
Tue, 5 May 2020 18:27:47 +0000 (20:27 +0200)
committerGitHub <noreply@github.com>
Tue, 5 May 2020 18:27:47 +0000 (20:27 +0200)
commit7be4e350aadf93c4be5c97b7291d0db2b6bc1dc4
tree7285b6051ef96253ce4ef2ac2a34412fae9ea281
parent0dd5e7a718997da2026ed64fe054dc36cae4fee7
bpo-40513: Per-interpreter GIL (GH-19943)

In the experimental isolated subinterpreters build mode, the GIL is
now per-interpreter.

Move gil from _PyRuntimeState.ceval to PyInterpreterState.ceval.

new_interpreter() always get the config from the main interpreter.
Include/internal/pycore_ceval.h
Include/internal/pycore_interp.h
Include/internal/pycore_runtime.h
Python/ceval.c
Python/ceval_gil.h
Python/pylifecycle.c