add spmc ring sync example#191
Merged
lxsaah merged 5 commits intoJul 18, 2026
Merged
Conversation
lxsaah
requested changes
Jul 18, 2026
Collaborator
Author
|
@lxsaah Hey, thanks for the review. I have fixed the duplication in Makefile and resolved the conversation. Now it still says "1 review requesting changes by reviewers with write access. Cannot change this locked branch" Thus, can't merge it. |
The header lines in the expected-output block didn't match what main.rs actually prints, showing rate-based stats instead of the interval/delay values the code outputs. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
lxsaah
approved these changes
Jul 18, 2026
lxsaah
left a comment
Contributor
There was a problem hiding this comment.
I updated the branch and fixed the README output. It looks now good to me. Thank you!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds the
hello-spmc-ringexample demonstrating theSpmcRingbuffer through AimDB's synchronous API.The example:
Temperaturerecord backed byBufferCfg::SpmcRing { capacity: 10 }SyncProducerhello-single-latest, where intermediate updates may be replacedRelated Issue
Closes #184
Testing
The following commands completed successfully:
cargo fmt --all -- --checkcargo check -p hello-single-latestcargo clippy -p hello-single-latest --all-targets -- -D warningscargo run -p hello-single-latestmake examplesmake checkcompleted all preceding checks but failed at the existingcodegen-driftstep on macOS because of a BSDsedregular-expression compatibility error:Checklist
make check). The command is currently blocked by the macOSsedcompatibility issue described above.