diff options
author | mpage <mpage@meta.com> | 2024-01-19 12:17:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-19 12:17:51 (GMT) |
commit | 28eacf27efaa07cb8d9c0c3e9253a07b9012415f (patch) | |
tree | 51403dbaca8a796378ba2d8823abcd94cdd91b7c /Lib/test/test_pathlib/test_pathlib_abc.py | |
parent | 05e47202a34e6ae05e699af1083455f5b8b59496 (diff) | |
download | cpython-28eacf27efaa07cb8d9c0c3e9253a07b9012415f.zip cpython-28eacf27efaa07cb8d9c0c3e9253a07b9012415f.tar.gz cpython-28eacf27efaa07cb8d9c0c3e9253a07b9012415f.tar.bz2 |
gh-113884: Refactor `queue.SimpleQueue` to use a ring buffer to store items (#114259)
Use a ring buffer instead of a Python list in order to simplify the
process of making queue.SimpleQueue thread-safe in free-threaded
builds. The ring buffer implementation has no places where critical
sections may be released.
Diffstat (limited to 'Lib/test/test_pathlib/test_pathlib_abc.py')
0 files changed, 0 insertions, 0 deletions