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

[foxy backport] Derive and throw exception in spin_some spin_all for StaticSingleThreadedExecutor #1385

Merged

Conversation

brawner
Copy link
Contributor

@brawner brawner commented Oct 6, 2020

This PR replaces #1229 in favor of a solution that doesn't affect ABI compatibility, but accomplishes a similar result.

Edit: This backports #1220 to foxy

…adedExecutor (#1220)

* Derive and throw exception in spin_some spin_all

Signed-off-by: Stephen Brawner <brawner@gmail.com>

* Fix style and add unit test

Signed-off-by: Stephen Brawner <brawner@gmail.com>
Signed-off-by: Stephen Brawner <brawner@gmail.com>
@brawner
Copy link
Contributor Author

brawner commented Oct 6, 2020

@jacobperron @clalancette This is an older issue, but you both provided good feedback on the original PRs.

Copy link
Member

@jacobperron jacobperron left a comment

Choose a reason for hiding this comment

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

Looks okay to me. I'd like @clalancette to take a look too though.

@brawner
Copy link
Contributor Author

brawner commented Oct 7, 2020

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

Copy link
Contributor

@clalancette clalancette left a comment

Choose a reason for hiding this comment

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

Clever solution to maintain ABI.

@brawner
Copy link
Contributor Author

brawner commented Oct 7, 2020

I'm merging this into https://github.com/ros2/rclcpp/tree/brawner/rclcpp-backport-tests-part1 which will act as a feature branch, not into foxy directly yet.

@brawner brawner merged commit 621d3bd into brawner/rclcpp-backport-tests-part1 Oct 7, 2020
@delete-merged-branch delete-merged-branch bot deleted the brawner/rclcpp-backport-1220 branch October 7, 2020 18:18
brawner added a commit that referenced this pull request Oct 19, 2020
…StaticSingleThreadedExecutor (#1385)

* Derive and throw exception in spin_some spin_all for StaticSingleThreadedExecutor (#1220)

* Derive and throw exception in spin_some spin_all

Signed-off-by: Stephen Brawner <brawner@gmail.com>

* Fix style and add unit test

Signed-off-by: Stephen Brawner <brawner@gmail.com>

* Remove header changes and throw exceptions in .cpp

Signed-off-by: Stephen Brawner <brawner@gmail.com>
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.

3 participants