eclipse-iceoryx / iceoryx2

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

[#390] waitset c binding #451

Closed elfenpiff closed 1 month ago

elfenpiff commented 1 month ago

Notes for Reviewer

The language bindings for C and C++. The C API is tested through the C++ API, which utilizes it fully. The event-multiplexing example is not yet ported - this comes later.

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 #390

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 73.52941% with 9 lines in your changes missing coverage. Please review.

Project coverage is 79.03%. Comparing base (5904a48) to head (ce791a4). Report is 37 commits behind head on main.

Files with missing lines Patch % Lines
iceoryx2/src/port/waitset.rs 72.72% 9 Missing :warning:
Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/eclipse-iceoryx/iceoryx2/pull/451/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/451?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 #451 +/- ## ========================================== + Coverage 79.00% 79.03% +0.03% ========================================== Files 196 196 Lines 23251 23373 +122 ========================================== + Hits 18369 18473 +104 - Misses 4882 4900 +18 ``` | [Files with missing lines](https://app.codecov.io/gh/eclipse-iceoryx/iceoryx2/pull/451?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse-iceoryx) | Coverage Δ | | |---|---|---| | [iceoryx2-bb/posix/src/deadline\_queue.rs](https://app.codecov.io/gh/eclipse-iceoryx/iceoryx2/pull/451?src=pr&el=tree&filepath=iceoryx2-bb%2Fposix%2Fsrc%2Fdeadline_queue.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse-iceoryx#diff-aWNlb3J5eDItYmIvcG9zaXgvc3JjL2RlYWRsaW5lX3F1ZXVlLnJz) | `89.65% <ø> (ø)` | | | [iceoryx2-bb/posix/src/file\_descriptor.rs](https://app.codecov.io/gh/eclipse-iceoryx/iceoryx2/pull/451?src=pr&el=tree&filepath=iceoryx2-bb%2Fposix%2Fsrc%2Ffile_descriptor.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse-iceoryx#diff-aWNlb3J5eDItYmIvcG9zaXgvc3JjL2ZpbGVfZGVzY3JpcHRvci5ycw==) | `72.41% <ø> (ø)` | | | [iceoryx2/src/config.rs](https://app.codecov.io/gh/eclipse-iceoryx/iceoryx2/pull/451?src=pr&el=tree&filepath=iceoryx2%2Fsrc%2Fconfig.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse-iceoryx#diff-aWNlb3J5eDIvc3JjL2NvbmZpZy5ycw==) | `70.21% <100.00%> (-5.91%)` | :arrow_down: | | [iceoryx2/src/port/waitset.rs](https://app.codecov.io/gh/eclipse-iceoryx/iceoryx2/pull/451?src=pr&el=tree&filepath=iceoryx2%2Fsrc%2Fport%2Fwaitset.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse-iceoryx#diff-aWNlb3J5eDIvc3JjL3BvcnQvd2FpdHNldC5ycw==) | `77.57% <72.72%> (-1.42%)` | :arrow_down: | ... and [9 files with indirect coverage changes](https://app.codecov.io/gh/eclipse-iceoryx/iceoryx2/pull/451/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse-iceoryx)