Skip to content

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

Merged
colesbury merged 1 commit into
python:3.14from
miss-islington:backport-8dbc119-3.14
May 23, 2025
Merged

colesbury merged 1 commit into
python:3.14from
miss-islington:backport-8dbc119-3.14

Conversation

@miss-islington

@miss-islington miss-islington commented May 23, 2025 •

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Member

hm, test failures look unrelated

@colesbury
colesbury merged commit 8167594 into python:3.14 May 23, 2025
@miss-islington
miss-islington deleted the backport-8dbc119-3.14 branch January 2, 2026 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants