SIGN IN SIGN UP

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

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 8dbc11971974a725dc8a11c0dc65d8f6fcb4d902)

Co-authored-by: Emma Smith <emma@emmatyping.dev>
M
Miss Islington (bot) committed
81675941fb51f09b89ba46bce237222a87ea60f6
Parent: 896b745
Committed by GitHub <noreply@github.com> on 5/23/2025, 10:00:38 AM