]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-117657: Acquire a critical section around `SemLock.__{enter,exit}__` (#118812)
authormpage <mpage@meta.com>
Thu, 9 May 2024 16:05:52 +0000 (09:05 -0700)
committerGitHub <noreply@github.com>
Thu, 9 May 2024 16:05:52 +0000 (12:05 -0400)
commitc30d8e5d6c6b657817d6b342f1021676d04dd5af
treea8183c64dad61e0a92053387299e51ba5f2aa6d2
parentc3643a121401d111bebd3e26d6f362ade2ed2a83
gh-117657: Acquire a critical section around `SemLock.__{enter,exit}__` (#118812)

These methods are purely wrappers around `Semlock.{acquire,release}`,
which expect a critical section to be held.
Modules/_multiprocessing/clinic/semaphore.c.h
Modules/_multiprocessing/semaphore.c