Skip to content

Spsc::peek: Fix atomic ordering bug - #703

Merged
sgued merged 1 commit into
mainfrom
spsc-unsoundness
Nov 11, 2026
Merged

sgued merged 1 commit into
mainfrom
spsc-unsoundness

Conversation

@sgued

@sgued sgued commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

The written data is then commited with a Release write to "tail". Tail needs to be loaded with Acquire ordering then to ensure proper concurrency.

@sgued
sgued requested a review from a team November 11, 2026 09:58
@sgued sgued mentioned this pull request Nov 11, 2026
newAM
newAM previously approved these changes Nov 11, 2026

@newAM newAM left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor typo in the commit message, "commited" should be "committed".

@sgued
sgued enabled auto-merge November 11, 2026 21:47
The written data is then committed with a Release write to "tail".
Tail needs to be loaded with Acquire ordering then to ensure proper concurrency.
@sgued
sgued added this pull request to the merge queue Nov 11, 2026
Merged via the queue into main with commit 85ceec5 Nov 11, 2026
21 checks passed
@sgued
sgued deleted the spsc-unsoundness branch November 11, 2026 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants