-
Notifications
You must be signed in to change notification settings - Fork 483
refactor: Use std::conditional_variable in signal handler code #2999
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
base: rolling
Are you sure you want to change the base?
Conversation
1c2a717 to
096cc95
Compare
52646ea to
399f671
Compare
fujitatomoya
left a comment
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.
@jmachowinski thanks for the fix, i will start the CI.
Note: not only the replacement of custom semaphore notification code for handling signals (SIGINT/SIGTERM) with std::condition_variable and related modern C++ synchronization primitives, but also having dedicated fields (atomic field) for SIGTERM and SIGINT allows the system to reliably record if each signal was received, even if they arrive close together or simultaneously.
|
Pulls: #2999 |
|
Pulls: #2999 |
|
From triage meeting: ci.ros2.org was down, but seems like it could be merged maybe? |
|
@Mergifyio rebase |
❌ Pull request can't be updated with latest base branch changesMergify needs the author permission to update the base branch of the pull request. |
|
@jmachowinski can you rebase and restart CI? |
Code cleanup to use std::conditional_variable in the signal handler code instead of a custom home brew version. Signed-off-by: Janosch Machowinski <[email protected]>
399f671 to
edee4fc
Compare
|
Pulls: #2999 Started by user Janosch Machowinski Running as SYSTEM Triggering a new build of ci_windows Triggering a new build of ci_linux-rhel Triggering a new build of ci_linux Finished: SUCCESS |
Code cleanup to use std::conditional_variable in the signal handler code instead of a custom home brew version.
Description
Reworked version of
#2998