Skip to content

Conversation

@nascheme
Copy link
Member

@naschemenascheme commented Dec 15, 2025

We need to use release/acquire ordering for the 'mask' member of the set structure. Without this, set_lookkey_threadsafe() could be looking at the old value of table but the new value of mask.

We need to use release/acquire ordering for the 'mask' member of the set structure. Without this, `set_lookkey_threadsafe()` could be looking at the old value of `table` but the new value of `mask`.
@naschemenascheme added type-bug An unexpected behavior, bug, or error skip news topic-free-threading labels Dec 15, 2025
@naschemenascheme marked this pull request as ready for review December 15, 2025 04:26
@naschemenascheme merged commit 19c72d2 into python:mainDec 15, 2025
52 checks passed
fatelei pushed a commit to fatelei/cpython that referenced this pull request Dec 16, 2025
…-142735) We need to use release/acquire ordering for the 'mask' member of the set structure. Without this, `set_lookkey_threadsafe()` could be looking at the old value of `table` but the new value of `mask`.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip newstopic-free-threadingtype-bugAn unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@nascheme