diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-06-06 18:03:01 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-06 18:03:01 (GMT) |
commit | 517733ce3cd7937dc527f1f191582c21cfb9b685 (patch) | |
tree | 64e0f07217be36c2991f65c8d9cd6c02114d5c68 /Lib | |
parent | 015ddfeca5e39a3796ee144d07accb1d5c7e7522 (diff) | |
download | cpython-517733ce3cd7937dc527f1f191582c21cfb9b685.zip cpython-517733ce3cd7937dc527f1f191582c21cfb9b685.tar.gz cpython-517733ce3cd7937dc527f1f191582c21cfb9b685.tar.bz2 |
[3.13] gh-117657: Fix TSAN race involving import lock (GH-118523) (#120169)
This adds a `_PyRecursiveMutex` type based on `PyMutex` and uses that
for the import lock. This fixes some data races in the free-threaded
build and generally simplifies the import lock code.
(cherry picked from commit e21057b99967eb5323320e6d1121955e0cd2985e)
Co-authored-by: Sam Gross <colesbury@gmail.com>
Diffstat (limited to 'Lib')
0 files changed, 0 insertions, 0 deletions