diff options
author | Sam Gross <colesbury@gmail.com> | 2024-06-06 17:40:58 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-06 17:40:58 (GMT) |
commit | e21057b99967eb5323320e6d1121955e0cd2985e (patch) | |
tree | 10bff96fbf34c833c65258d6565ed47cbbd2c62c /Python/compile.c | |
parent | 417bec733c11e63df559ecf898802dbef590142e (diff) | |
download | cpython-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