Skip to content

Conversation

@mpage
Copy link
Contributor

@mpagempage 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.

These methods are purely wrappers around `Semlock.{acquire,release}`, which expect a critical section to be held.
@mpagempage requested a review from colesburyMay 9, 2024 00:08
@mpagempage marked this pull request as ready for review May 9, 2024 00:48
@mpagempage requested a review from gpshead as a code ownerMay 9, 2024 00:48
@colesburycolesbury added the needs backport to 3.13 bugs and security fixes label May 9, 2024
@colesburycolesbury merged commit c30d8e5 into python:mainMay 9, 2024
@miss-islington-app
Copy link

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
Copy link

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

@bedevere-appbedevere-appbot 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.
@JelleZijlstraJelleZijlstra mentioned this pull request May 28, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@mpage@colesbury