FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.13] gh-117657: Fix TSAN race involving import lock (GH-118523) by miss-islington · Pull Request #120169 · python/cpython · GitHub

/ cpython Public

[3.13] gh-117657: Fix TSAN race involving import lock (GH-118523) - #120169

Merged
colesbury merged 1 commit into
python:3.13from
miss-islington:backport-e21057b-3.13
Jun 6, 2024
Merged

[3.13] gh-117657: Fix TSAN race involving import lock (GH-118523)#120169
colesbury merged 1 commit into
python:3.13from
miss-islington:backport-e21057b-3.13

Conversation

miss-islington commented Jun 6, 2024
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

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 e21057b)

Co-authored-by: Sam Gross colesbury@gmail.com

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 e21057b)

Co-authored-by: Sam Gross <colesbury@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL