Skip to content
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

gh-112087: Update list impl to be thread-safe with manual CS #113863

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

corona10
Copy link
Member

@corona10 corona10 commented Jan 9, 2024

@corona10
Copy link
Member Author

corona10 commented Jan 9, 2024

The rest of the parts can be separated into two parts.
A. xxx_lock implementations.
B. Where PyList_FetchItem is needed.

A is a headache; atomic operation with default build will require some overhead than pure operation; not sure how we can solve this with a seamless approach.

B is quite simple; if we already have similar APIs, then we can just use them. If not, we should introduce one.

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.

None yet

1 participant