Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
gh-128942: make arraymodule.c free-thread safe (lock-free)#130771
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Open
tom-pytel wants to merge43 commits intopython:mainChoose a base branch fromtom-pytel:fix-issue-128942-lockfree
base:main
Could not load branches
Branch not found:{{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline, and old review comments may become outdated.
+1,268 −439
Open
Changes from1 commit
Commits
Show all changes
43 commits Select commitHold shift + click to select a range
f54c5fc
slow arraymodule
tom-pytel4c71f00
lockfree read and write single element
tom-pytel512c4c7
📜🤖 Added by blurb_it.
blurb-it[bot]060100f
ensure_shared_on_resize() in one more place
tom-pyteld0b17c6
fix stupid direct return out of critical section
tom-pytelc17b787
requested changes
tom-pytel4fd8383
downgrade to _Py_atomic_load_ptr_relaxed in missed place
tom-pyteld00f2b7
arraymodule linked statically
tom-pytela3e6004
cleanups
tom-pytelfb6212a
test and tsan stuff
tom-pytel04a8f9d
getters and setters using atomics
tom-pytel01423fd
fix 2 byte wchar_t
tom-pytel99331dd
remove debug printf
tom-pytel07c98cc
just a hunch...
tom-pytelcf3bbbb
atomic "memcpy"
tom-pytel51135a4
misc
tom-pytelfff827e
use proper type FT_ macros
tom-pytel12f0ff6
atomic aggregate _Py_atomic_source_memcpy_relaxed()
tom-pytel1a6b8df
Merge branch 'main' into fix-issue-128942-lockfree
tom-pytel94ef417
remove atomic memcpy
tom-pytel0056412
Merge branch 'main' into fix-issue-128942-lockfree
tom-pytel1431784
regen clinic
tom-pytel460d3d7
Merge branch 'main' into fix-issue-128942-lockfree
tom-pytel409239c
requested changes
tom-pytela6f17c9
more requested changes
tom-pytelb5d219e
__declspec(align(8)) for Windows
tom-pytel2c82071
shut up check-c-globals
tom-pytel1ba50e9
alignment changes
tom-pytel576aebf
MS_WINDOWS -> _MSC_VER
tom-pytel4dd0954
Merge branch 'main' into fix-issue-128942-lockfree
tom-pyteld4e5313
#include "pycore_gc.h", something moved
tom-pytel48eabe3
Merge branch 'main' into fix-issue-128942-lockfree
tom-pytelc056b13
Merge branch 'main' into fix-issue-128942-lockfree
tom-pytelaffae8e
remove NULL check in arraydata_free()
tom-pytel689c7a3
Merge branch 'main' into fix-issue-128942-lockfree
tom-pytel3e2f8cd
Merge branch 'main' into fix-issue-128942-lockfree
tom-pytel7286fed
Merge branch 'main' into fix-issue-128942-lockfree
tom-pytel6550906
Merge branch 'main' into fix-issue-128942-lockfree
tom-pytel5b35203
Merge branch 'main' into fix-issue-128942-lockfree
tom-pytel15d92ca
Merge branch 'main' into fix-issue-128942-lockfree
tom-pytel2e7132e
change to use new _Py_ALIGN_AS() macro
tom-pytel06f86cf
Merge branch 'main' into fix-issue-128942-lockfree
tom-pyteld29c208
Merge branch 'main' into fix-issue-128942-lockfree
tom-pytelFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
fix stupid direct return out of critical section
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commitd0b17c6868f8e270c3690ac47c72a3e924f8edbc
There are no files selected for viewing
10 changes: 7 additions & 3 deletionsModules/arraymodule.c
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.
Uh oh!
There was an error while loading.Please reload this page.
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.