FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-117657: Acquire a critical section around `SemLock.__{enter,exit}__` by mpage · Pull Request #118812 · python/cpython · GitHub

/ cpython Public

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

Merged
colesbury merged 1 commit into
python: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 into
python:mainfrom
mpage:gh-117657-multiprocessing-semaphore

Conversation

mpage commented May 9, 2024
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

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

Sample race reported by TSAN.

These methods are purely wrappers around `Semlock.{acquire,release}`,
which expect a critical section to be held.
mpage added the skip news label May 9, 2024
mpage requested a review from colesbury May 9, 2024 00:08
mpage marked this pull request as ready for review May 9, 2024 00:48
mpage requested a review from gpshead as a code owner May 9, 2024 00:48
colesbury added the needs backport to 3.13 bugs and security fixes label May 9, 2024
colesbury merged commit c30d8e5 into python:main May 9, 2024

Copy link
Copy Markdown

Thanks @mpage for the PR, and @colesbury for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 9, 2024
…exit}__` (pythonGH-118812)

These methods are purely wrappers around `Semlock.{acquire,release}`,
which expect a critical section to be held.
(cherry picked from commit c30d8e5)

Co-authored-by: mpage <mpage@meta.com>

bedevere-app Bot commented May 9, 2024

Copy link
Copy Markdown

GH-118856 is a backport of this pull request to the 3.13 branch.

bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label May 9, 2024
colesbury pushed a commit that referenced this pull request May 9, 2024
…,exit}__` (GH-118812) (#118856)

These methods are purely wrappers around `Semlock.{acquire,release}`,
which expect a critical section to be held.
(cherry picked from commit c30d8e5)

Co-authored-by: mpage <mpage@meta.com>
SonicField pushed a commit to SonicField/cpython that referenced this pull request May 10, 2024
…exit}__` (python#118812)

These methods are purely wrappers around `Semlock.{acquire,release}`,
which expect a critical section to be held.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL