-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
fix abort in some cases with DDS #13627
Conversation
@maloel can you review?
the condition for joinable and the actual join actions are not atomic. Currently this issue was also raised by validation as a critical BUG. |
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.
Please see the comments; otherwise good to go
Seeing we still could throw because of a failed join, even with the try catch, updating to a different approach of removing the thread detach. As far as I've noticed, we don't wait additional time because of this change |
It's probably fast enough but the theoretical time to wait is 15 sec. |
In general, after reviewing the code, I think removing the |
I agree |
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.
LGTM
Fixed an issue where we randomly see an error where abort() is called after we finish using DDS (in the d'tor), added a try catch block due to the race condition there
Tracked on: [LRS-1212]