]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-113743: Use per-interpreter locks for types (#115541)
authorDino Viehland <dinoviehland@meta.com>
Fri, 16 Feb 2024 00:28:31 +0000 (16:28 -0800)
committerGitHub <noreply@github.com>
Fri, 16 Feb 2024 00:28:31 +0000 (16:28 -0800)
commit454d7963e31cded1de3a90642da7259848efd232
tree4cb187f9ef42453b580095af98f9c094e4a70f30
parentbce693111bff906ccf9281c22371331aaff766ab
gh-113743: Use per-interpreter locks for types (#115541)

Move type-lock to per-interpreter lock to avoid heavy contention in interpreters test
Include/internal/pycore_typeobject.h
Objects/typeobject.c
Python/pystate.c