diff options
author | mpage <mpage@meta.com> | 2024-02-15 08:22:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-15 08:22:47 (GMT) |
commit | dc978f6ab62b68c66d3b354638c310ee1cc844a6 (patch) | |
tree | 06e7ebe6f6f5526919aae14163ba87236cb72407 /Tools | |
parent | 474204765bdbdd4bc84a8ba49d3a6558e9e4e3fd (diff) | |
download | cpython-dc978f6ab62b68c66d3b354638c310ee1cc844a6.zip cpython-dc978f6ab62b68c66d3b354638c310ee1cc844a6.tar.gz cpython-dc978f6ab62b68c66d3b354638c310ee1cc844a6.tar.bz2 |
gh-112050: Make collections.deque thread-safe in free-threaded builds (#113830)
Use critical sections to make deque methods that operate on mutable
state thread-safe when the GIL is disabled. This is mostly accomplished
by using the @critical_section Argument Clinic directive, though there
are a few places where this was not possible and critical sections had
to be manually acquired/released.
Diffstat (limited to 'Tools')
0 files changed, 0 insertions, 0 deletions