summaryrefslogtreecommitdiffstats
path: root/Python/compile.c
diff options
context:
space:
mode:
authorSam Gross <colesbury@gmail.com>2024-06-06 17:40:58 (GMT)
committerGitHub <noreply@github.com>2024-06-06 17:40:58 (GMT)
commite21057b99967eb5323320e6d1121955e0cd2985e (patch)
tree10bff96fbf34c833c65258d6565ed47cbbd2c62c /Python/compile.c
parent417bec733c11e63df559ecf898802dbef590142e (diff)
downloadcpython-e21057b99967eb5323320e6d1121955e0cd2985e.zip
cpython-e21057b99967eb5323320e6d1121955e0cd2985e.tar.gz
cpython-e21057b99967eb5323320e6d1121955e0cd2985e.tar.bz2
gh-117657: Fix TSAN race involving import lock (#118523)
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.
Diffstat (limited to 'Python/compile.c')
0 files changed, 0 insertions, 0 deletions