diff options
author | mpage <mpage@meta.com> | 2024-01-23 19:25:41 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-23 19:25:41 (GMT) |
commit | 925907ea362c4c014086be48625ac7dd67645cfc (patch) | |
tree | 2c6ad103f5296532d8cd8e0bcdb66623a3ad636d /Python/optimizer_analysis.c | |
parent | 441affc9e7f419ef0b68f734505fa2f79fe653c7 (diff) | |
download | cpython-925907ea362c4c014086be48625ac7dd67645cfc.zip cpython-925907ea362c4c014086be48625ac7dd67645cfc.tar.gz cpython-925907ea362c4c014086be48625ac7dd67645cfc.tar.bz2 |
gh-113884: Make queue.SimpleQueue thread-safe when the GIL is disabled (#114161)
* use the ParkingLot API to manage waiting threads
* use Argument Clinic's critical section directive to protect queue methods
* remove unnecessary overflow check
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Diffstat (limited to 'Python/optimizer_analysis.c')
0 files changed, 0 insertions, 0 deletions