summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-06-06 18:03:01 (GMT)
committerGitHub <noreply@github.com>2024-06-06 18:03:01 (GMT)
commit517733ce3cd7937dc527f1f191582c21cfb9b685 (patch)
tree64e0f07217be36c2991f65c8d9cd6c02114d5c68 /Lib
parent015ddfeca5e39a3796ee144d07accb1d5c7e7522 (diff)
downloadcpython-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