Skip to content

gh-117657: Acquire a critical section around SemLock.__{enter,exit}__#118812

Merged
colesbury merged 1 commit intopython:mainfrom
mpage:gh-117657-multiprocessing-semaphore
May 9, 2024
Merged

gh-117657: Acquire a critical section around SemLock.__{enter,exit}__#118812
colesbury merged 1 commit intopython:mainfrom
mpage:gh-117657-multiprocessing-semaphore

Conversation

@mpage
Copy link
Contributor

@mpage mpage commented May 9, 2024

These methods are purely wrappers around Semlock.{acquire,release}, which expect a critical section to be held.

Sample race reported by TSAN.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants