-
Notifications
You must be signed in to change notification settings - Fork 357
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
Optimize read/take path with SHM when waitset is not used for the data notification #1173
base: master
Are you sure you want to change the base?
Optimize read/take path with SHM when waitset is not used for the data notification #1173
Commits on Mar 24, 2022
-
Update shm_monitor_attach/detach_reader APIs
- Make them thread safe - The attach API will attach only if the reader is not already attached - The attach API also updates the iox_sub storage with monitor and the parent reader - The detach API will only attempt to detach if there is a monitor attched Signed-off-by: Sumanth Nirmal <sumanth.724@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for f5946b6 - Browse repository at this point
Copy the full SHA f5946b6View commit details -
Abstract the method to transfer samples from iox queue to reader hist…
…ory cache from shm_monitor.c to dds_read.c Signed-off-by: Sumanth Nirmal <sumanth.724@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 45d96da - Browse repository at this point
Copy the full SHA 45d96daView commit details -
Update dds_reader_lock_samples to update the samples from the iox sub…
…scriber queue to the reader cache directly in the same thread context, if the monitor is not attached to this reader Signed-off-by: Sumanth Nirmal <sumanth.724@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 7fa881d - Browse repository at this point
Copy the full SHA 7fa881dView commit details -
Remove the logic of attaching reader to shm monitor for every reader
The reader will be attached to the monitor when the reader has read conditions or status conditions or listener with data availability status mask Signed-off-by: Sumanth Nirmal <sumanth.724@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1637298 - Browse repository at this point
Copy the full SHA 1637298View commit details -
Update waitset attach method to attach the reader to the shm monitor
Signed-off-by: Sumanth Nirmal <sumanth.724@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 9d79e03 - Browse repository at this point
Copy the full SHA 9d79e03View commit details -
Update waitset detach method to detach the reader from the shm monitor
Signed-off-by: Sumanth Nirmal <sumanth.724@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6bad2ce - Browse repository at this point
Copy the full SHA 6bad2ceView commit details -
Remove the logic of tracking attached iox listeners
Signed-off-by: Sumanth Nirmal <sumanth.724@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for bbaab3b - Browse repository at this point
Copy the full SHA bbaab3bView commit details -
Remove the unused mutex in shm_monitor
Signed-off-by: Sumanth Nirmal <sumanth.724@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6739df2 - Browse repository at this point
Copy the full SHA 6739df2View commit details -
Update samples from iox_queue to reader history cache in the
read/take_impl APIs when SHM is supported and iox_listener is not attached to a specific reader Signed-off-by: Sumanth Nirmal <sumanth.724@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 23429fc - Browse repository at this point
Copy the full SHA 23429fcView commit details -
Signed-off-by: Sumanth Nirmal <sumanth.724@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for bbbb793 - Browse repository at this point
Copy the full SHA bbbb793View commit details