mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
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.
1 line
81 B
ReStructuredText
1 line
81 B
ReStructuredText
Make methods on :class:`collections.deque` thread-safe when the GIL is disabled.
|