Skip to content

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

Merged
brawner merged 2 commits intobrawner/rclcpp-backport-tests-part1from
brawner/rclcpp-backport-1220
Oct 7, 2020
Merged

[foxy backport] Derive and throw exception in spin_some spin_all for StaticSingleThreadedExecutor#1385
brawner merged 2 commits intobrawner/rclcpp-backport-tests-part1from
brawner/rclcpp-backport-1220

Conversation

@brawner
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor Author

brawner commented Oct 7, 2020

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

Copy link
Copy Markdown
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
Copy Markdown
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