Skip to content

refactor(asio): align atomic store/load API with JACK#1217

Merged
roderickvd merged 1 commit into
masterfrom
refactor/atomic-repr-ergonomics
May 25, 2026
Merged

refactor(asio): align atomic store/load API with JACK#1217
roderickvd merged 1 commit into
masterfrom
refactor/atomic-repr-ergonomics

Conversation

@roderickvd
Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Refactors the ASIO backend’s StreamState atomic load/store helpers to match the API shape used by the JACK backend, making the ordering explicit at call sites and keeping the two implementations consistent.

Changes:

  • Update StreamState::load to accept an Ordering parameter and use it for atomic loads.
  • Update StreamState::store to be a method on self and accept an Ordering parameter for atomic stores.
  • Adjust ASIO stream control and callbacks to pass appropriate Ordering values (Release for stores, Acquire for loads).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@roderickvd roderickvd merged commit 189cd79 into master May 25, 2026
35 checks passed
@roderickvd roderickvd deleted the refactor/atomic-repr-ergonomics branch May 25, 2026 20:26
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