-
Notifications
You must be signed in to change notification settings - Fork 388
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
iox-#615 unblock RouDi shutdown with blocked publisher #681
iox-#615 unblock RouDi shutdown with blocked publisher #681
Conversation
… by full subscriber queue Signed-off-by: Mathias Kraus <mathias.kraus@apex.ai>
Codecov Report
@@ Coverage Diff @@
## release_1.0 #681 +/- ##
===============================================
- Coverage 74.54% 74.46% -0.09%
===============================================
Files 317 317
Lines 11217 11224 +7
Branches 1969 1970 +1
===============================================
- Hits 8362 8358 -4
- Misses 2078 2087 +9
- Partials 777 779 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
|
@@ -111,16 +120,10 @@ void RouDi::shutdown() | |||
m_prcMgr->printWarningForRegisteredProcessesAndClearProcessList(); | |||
} | |||
} | |||
|
|||
// Postpone the IpcChannelThread in order to receive TERMINATION | |||
m_runIpcChannelThread = false; |
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.
This could be renamed:
m_runIpcChannelThread = false; | |
m_runRuntimeMessagesThread = false; |
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.
yes, will do it in the follow up
m_runDiscoveryThread = false; | ||
if (m_processManagementThread.joinable()) |
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.
Can we please rename this thread to something saner at some point? I just mixed up m_processMan..
and m_processRun..
:P
Maybe m_monitorAndDiscoveryThread
and m_handleRuntimeMessageThread
?
…ouDi-shutdown-with-blocked-publisher iox-eclipse-iceoryx#615 unblock RouDi shutdown with blocked publisher
Pre-Review Checklist for the PR Author
iox-#123-this-is-a-branch
)iox-#123 commit text
)git commit -s
)task-list-completed
)Notes for Reviewer
This fixes the issue that a blocked publisher blocks the RouDi shutdown. It's manually tested and a automated test will follow. I created the PR to get the fix into the next RC.
Checklist for the PR Reviewer
Post-review Checklist for the PR Author
References