Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#87] Fix undefined behavior in spsc {queue|index_queue} #88

Merged

Conversation

elfenpiff
Copy link
Contributor

@elfenpiff elfenpiff commented Jan 15, 2024

Notes for Reviewer

Pre-Review Checklist for the PR Author

  1. Add sensible notes for the reviewer
  2. PR title is short, expressive and meaningful
  3. Relevant issues are linked
  4. Every source code file has a copyright header with SPDX-License-Identifier: Apache-2.0 OR MIT
  5. Branch follows the naming format (iox2-123-introduce-posix-ipc-example)
  6. Commits messages are according to this guideline
  7. Tests follow the best practice for testing
  8. Changelog updated in the unreleased section including API breaking changes
  9. Assign PR to reviewer
  10. All checks have passed (except task-list-completed)

Checklist for the PR Reviewer

  • Commits are properly organized and messages are according to the guideline
  • Unit tests have been written for new behavior
  • Public API is documented
  • PR title describes the changes

Post-review Checklist for the PR Author

  1. All open points are addressed and tracked via issues

References

Use either 'Closes #123' or 'Relates to #123' to reference the corresponding issue.

Closes #87

@elfenpiff elfenpiff requested a review from elBoberido January 15, 2024 02:30
@elfenpiff elfenpiff self-assigned this Jan 15, 2024
Copy link

codecov bot commented Jan 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (891ae9b) 78.00% compared to head (287cb16) 78.00%.
Report is 12 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #88   +/-   ##
=======================================
  Coverage   78.00%   78.00%           
=======================================
  Files         172      172           
  Lines       18778    18789   +11     
=======================================
+ Hits        14647    14656    +9     
- Misses       4131     4133    +2     
Files Coverage Δ
iceoryx2-bb/lock-free/src/spsc/index_queue.rs 93.33% <100.00%> (+0.09%) ⬆️
iceoryx2-bb/lock-free/src/spsc/queue.rs 96.22% <100.00%> (+0.10%) ⬆️
...ck-free/src/spsc/safely_overflowing_index_queue.rs 93.30% <100.00%> (+0.14%) ⬆️

... and 1 file with indirect coverage changes

…oncurrently; atomic fence in fifo with AcqRel to prevent reordering
@elfenpiff elfenpiff requested a review from elBoberido January 16, 2024 22:24
@elfenpiff elfenpiff merged commit ba45191 into eclipse-iceoryx:main Jan 20, 2024
23 checks passed
@elfenpiff elfenpiff deleted the iox2-87-fix-issue-in-lock-free-queue branch January 20, 2024 04:50
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.

Undefined behavior in spsc fifo
2 participants