-
Notifications
You must be signed in to change notification settings - Fork 47
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
[#129] fix missing connections #134
[#129] fix missing connections #134
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #134 +/- ##
==========================================
+ Coverage 77.40% 77.61% +0.20%
==========================================
Files 179 180 +1
Lines 19668 19943 +275
==========================================
+ Hits 15224 15478 +254
- Misses 4444 4465 +21
|
c073654
to
7d9ce08
Compare
850a2de
to
280002c
Compare
…ring issue in container update
…ess for allocator
…llocator check only performed in debug mode
3a38661
to
be5af47
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
9 files to go. Looks good so far.
}; | ||
|
||
if let Err(e) = new_self.populate_listener_channels() { | ||
warn!(from new_self, "The new Notifier port is unable to connect to every Listener port, caused by {:?}.", e); | ||
} | ||
|
||
std::sync::atomic::compiler_fence(Ordering::SeqCst); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting. After reading the documentation, a few question marks remain. Especially since the example should be broken on a weakly ordered CPU
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only the mpmc::Container
left but thats something for tomorrow
…e start into start_address for allocators; rename receive/retrieve channel into submission/completion channel; code cleanup
…mory_size functions
…instead of acquiring it from the base address
5b9d0cf
to
e35af3f
Compare
Notes for Reviewer
The UsedChunkList exploits that the publisher/zero copy connection combination is using a pool allocator with equi-distant offset (buckets of same size). Therefore, we introduced number of samples and sample size.
We translate the memory addresses into indices (based on the above information) and set atomic bools to indicate if a sample is in use or not.
Pre-Review Checklist for the PR Author
SPDX-License-Identifier: Apache-2.0 OR MIT
iox2-123-introduce-posix-ipc-example
)[#123] Add posix ipc example
)task-list-completed
)Checklist for the PR Reviewer
Post-review Checklist for the PR Author
References
Relates to #116
Closes #129 #130 #131 #132