Skip to content
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

Avoid losing waitable handles while using MultiThreadedExecutor #2109

Merged
merged 4 commits into from
Mar 13, 2023

Conversation

Barry-Xu-2018
Copy link
Collaborator

Address #2012

This patch may not be the best fix.
But I hope to find the best fix by discussing this patch.

Copy link
Collaborator

@iuhilnehc-ynos iuhilnehc-ynos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Personally, I can't figure out a better way to fix the issue.
So it LGTM.

Copy link
Collaborator

@fujitatomoya fujitatomoya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@fujitatomoya
Copy link
Collaborator

This changes ABI, so that we cannot backport this to humble. but i believe this is the problem must be addressed to Iron Release. I will start the CI.

@clalancette @wjwwood requesting another review on this.

@fujitatomoya
Copy link
Collaborator

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@fujitatomoya
Copy link
Collaborator

@Barry-Xu-2018 can you rebase this? we are having build failure, see https://ci.ros2.org/job/ci_linux/18122/console

Signed-off-by: Barry Xu <barry.xu@sony.com>
Signed-off-by: Barry Xu <barry.xu@sony.com>
Signed-off-by: Barry Xu <barry.xu@sony.com>
@Barry-Xu-2018
Copy link
Collaborator Author

Rpr__rclcpp__ubuntu_jammy_amd64 failed since latest code use service_introspection head file which isn't included in build system.

@Barry-Xu-2018
Copy link
Collaborator Author

@fujitatomoya Rebase was done.

…est case

Signed-off-by: Barry Xu <barry.xu@sony.com>
@fujitatomoya
Copy link
Collaborator

fujitatomoya commented Mar 1, 2023

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@Barry-Xu-2018
Copy link
Collaborator Author

After checking,
Linux failure is related to python_qt_binding. So it isn't related to this patch.
Linux-aarch64 failure is related to internal error for CI system.

@clalancette
Copy link
Contributor

Linux-aarch64 failure is related to internal error for CI system.

Yeah, it got re-run. I've updated Tomoya's post to show the re-run.

While I don't think this PR is causing the CI to go yellow, I'm going to re-run this anyway:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@fujitatomoya
Copy link
Collaborator

@clalancette @mjcarroll thanks for checking on this.

https://ci.ros2.org/job/ci_windows/18812/testReport/junit/launch_testing_examples.launch_testing_examples/check_multiple_nodes_launch_test/launch_testing_examples_check_multiple_nodes_launch_test/ is not related, i will go ahead to merge this.

@fujitatomoya fujitatomoya merged commit 232262c into ros2:rolling Mar 13, 2023
@fujitatomoya
Copy link
Collaborator

this cannot be backport to humble since it requires ABI change.

alsora pushed a commit to irobot-ros/rclcpp that referenced this pull request Apr 28, 2023
alsora pushed a commit to irobot-ros/rclcpp that referenced this pull request Apr 29, 2023
alsora pushed a commit to irobot-ros/rclcpp that referenced this pull request Apr 29, 2023
alsora pushed a commit to irobot-ros/rclcpp that referenced this pull request Apr 29, 2023
alsora pushed a commit to irobot-ros/rclcpp that referenced this pull request May 3, 2023
jmachowinski pushed a commit to jmachowinski/rclcpp that referenced this pull request Dec 6, 2023
jmachowinski pushed a commit to cellumation/rclcpp that referenced this pull request Dec 6, 2023
jmachowinski pushed a commit to jmachowinski/rclcpp that referenced this pull request Dec 8, 2023
jmachowinski pushed a commit to jmachowinski/rclcpp that referenced this pull request Dec 14, 2023
jmachowinski pushed a commit to jmachowinski/rclcpp that referenced this pull request Dec 14, 2023
…or (ros2#2109)"

This reverts commit 232262c.

Signed-off-by: Janosch Machowinski <J.Machowinski@cellumation.com>
@wjwwood
Copy link
Member

wjwwood commented Jan 4, 2024

Just to help with cross-referencing, we're discussing in a few places whether or not this is the right fix for this issue: #2371 (comment)

I'm currently leaning towards the idea that this is not the right fix and instead we should change specific waitables to address this issue.

Barry-Xu-2018 added a commit to Barry-Xu-2018/rclcpp that referenced this pull request Jan 12, 2024
jmachowinski pushed a commit to jmachowinski/rclcpp that referenced this pull request Jan 29, 2024
jmachowinski pushed a commit to jmachowinski/rclcpp that referenced this pull request Jan 29, 2024
…or (ros2#2109)"

This reverts commit 232262c.

Signed-off-by: Janosch Machowinski <J.Machowinski@cellumation.com>
wjwwood added a commit that referenced this pull request Jan 30, 2024
jmachowinski pushed a commit to cellumation/rclcpp that referenced this pull request Mar 26, 2024
wjwwood added a commit that referenced this pull request Mar 27, 2024
wjwwood added a commit that referenced this pull request Mar 27, 2024
wjwwood added a commit that referenced this pull request Mar 27, 2024
jmachowinski pushed a commit to cellumation/rclcpp that referenced this pull request Apr 2, 2024
wjwwood added a commit that referenced this pull request Apr 3, 2024
wjwwood added a commit that referenced this pull request Apr 4, 2024
…or (#2109)"

This reverts commit 232262c.

Signed-off-by: William Woodall <william@osrfoundation.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants