eclipse-iceoryx / iceoryx2

Eclipse iceoryx2™ - true zero-copy inter-process-communication in pure Rust
https://iceoryx.io
Apache License 2.0
778 stars 28 forks source link

[#139] introduce mpmc bitset #148

Closed elfenpiff closed 6 months ago

elfenpiff commented 6 months ago

Notes for Reviewer

The BitSet here introduced shall be used in a future PR for the event concept to mitigate ddos and queue capacity issues.

Pre-Review Checklist for the PR Author

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

Checklist for the PR Reviewer

Post-review Checklist for the PR Author

  1. [x] All open points are addressed and tracked via issues

References

Relates to #139

codecov[bot] commented 6 months ago

Codecov Report

Attention: Patch coverage is 68.65672% with 42 lines in your changes are missing coverage. Please review.

Project coverage is 77.69%. Comparing base (1133e62) to head (c87cedd). Report is 16 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/eclipse-iceoryx/iceoryx2/pull/148/graphs/tree.svg?width=650&height=150&src=pr&token=FN3YFXTJCI&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse-iceoryx)](https://app.codecov.io/gh/eclipse-iceoryx/iceoryx2/pull/148?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse-iceoryx) ```diff @@ Coverage Diff @@ ## main #148 +/- ## ========================================== + Coverage 77.64% 77.69% +0.05% ========================================== Files 180 181 +1 Lines 19943 20103 +160 ========================================== + Hits 15485 15620 +135 - Misses 4458 4483 +25 ``` | [Files](https://app.codecov.io/gh/eclipse-iceoryx/iceoryx2/pull/148?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse-iceoryx) | Coverage Δ | | |---|---|---| | [...x2-cal/src/zero\_copy\_connection/used\_chunk\_list.rs](https://app.codecov.io/gh/eclipse-iceoryx/iceoryx2/pull/148?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse-iceoryx#diff-aWNlb3J5eDItY2FsL3NyYy96ZXJvX2NvcHlfY29ubmVjdGlvbi91c2VkX2NodW5rX2xpc3QucnM=) | `91.81% <100.00%> (ø)` | | | [iceoryx2-bb/lock-free/src/mpmc/bit\_set.rs](https://app.codecov.io/gh/eclipse-iceoryx/iceoryx2/pull/148?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse-iceoryx#diff-aWNlb3J5eDItYmIvbG9jay1mcmVlL3NyYy9tcG1jL2JpdF9zZXQucnM=) | `68.42% <68.42%> (ø)` | | ... and [15 files with indirect coverage changes](https://app.codecov.io/gh/eclipse-iceoryx/iceoryx2/pull/148/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse-iceoryx)