8000 [3.14] gh-133885: Use locks instead of critical sections for _zstd (gh-134289) by miss-islington · Pull Request #134560 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.14] gh-133885: Use locks instead of critical sections for _zstd (gh-134289) #134560

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

Merged
merged 1 commit into from
May 23, 2025

Conversation

miss-islington
Copy link
Contributor
@miss-islington miss-islington commented May 23, 2025

Move from using critical sections to locks for the (de)compression methods.
Since the methods allow other threads to run, we should use a lock rather
than a critical section.
(cherry picked from commit 8dbc119)

Co-authored-by: Emma Smith emma@emmatyping.dev

…thongh-134289)

Move from using critical sections to locks for the (de)compression methods.
Since the methods allow other threads to run, we should use a lock rather
than a critical section.
(cherry picked from commit 8dbc119)

Co-authored-by: Emma Smith <emma@emmatyping.dev>
@emmatyping
Copy link
Member

hm, test failures look unrelated

@colesbury colesbury merged commit 8167594 into python:3.14 May 23, 2025
44 checks passed
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.

3 participants
0