-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
gh-114940: Use fine-grained mutex protection for PyInterpreterState.threads
#125561
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 5 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
414cfef
Add threads.mutex member to PyInterpreState
rruuaanng 0c815fc
Add NEWS
rruuaanng f5ec949
Delete Misc/NEWS.d/next/Core_and_Builtins/2024-10-16-11-07-50.gh-issu…
rruuaanng b595153
Change to current thread mutex
rruuaanng 2378caa
Remove runtime variable
rruuaanng 9cb2de0
HEAD_LOCK change to INTERP_THREAD_LOCK
rruuaanng afbaf04
Merge branch 'main' into _gh114940
rruuaanng 29c4ccb
HEAD_LOCK change to INTERP_THREAD_LOCK
rruuaanng 462f97d
HEAD_LOCK change to INTERP_THREAD_LOCK
rruuaanng 8146b6f
Remove unused variable
rruuaanng 74cc060
Clear unused code
rruuaanng f30b2b1
Change comment
rruuaanng 8e0d324
INTERP_THREAD_LOCK rename to INTERP_HEAD_LOCK
rruuaanng 1f488c7
INTERP_THREAD_LOCK rename to INTERP_HEAD_LOCK
rruuaanng c99e44e
INTERP_THREAD_LOCK rename to INTERP_HEAD_LOCK
rruuaanng 7ad9c32
Using raw member
rruuaanng 2131d69
Fix possible race conditions
rruuaanng 7bf9a1c
INTERP_THREAD_LOCK rename to INTERP_HEAD_LOCK
rruuaanng b947bc9
Rollback to unmodified
rruuaanng 46c2709
Use variable
rruuaanng 3c208c2
Recover assert
rruuaanng 2bb60d9
Add mutex for get_mimalloc_allocated_blocks
rruuaanng 3798bed
Add mutex for get_reftotal
rruuaanng 5dc1ced
Merge branch 'main' into _gh114940
rruuaanng 18fbaa0
Merge branch 'main' into _gh114940
rruuaanng 6257837
add lock to codeobject
rruuaanng 4b9a569
clear ci warning
rruuaanng File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
ZeroIntensity marked this conversation as resolved.
Show resolved
Hide resolved
|
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.