Skip to content

Weaken the atomic orderings for notification#95

Merged
notgull merged 2 commits intosmol-rs:masterfrom
james7132:weaken-atomic-ordering
Feb 17, 2024
Merged

Weaken the atomic orderings for notification#95
notgull merged 2 commits intosmol-rs:masterfrom
james7132:weaken-atomic-ordering

Conversation

@james7132
Copy link
Copy Markdown
Contributor

Meant to be a separate part of #94. The atomic orderings on State::notified might be too strong, as it's primarily being used as a deterrent against waking up too many threads. This PR weakens their sequentially consistent operations to Acquire/Release.

Copy link
Copy Markdown
Contributor

@notgull notgull left a comment

Choose a reason for hiding this comment

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

Thanks!

@notgull notgull merged commit 188f976 into smol-rs:master Feb 17, 2024
@notgull notgull mentioned this pull request Feb 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants