Skip to content

refactor executor::cancel to use a spinning state#155

Merged
jacquelinekay merged 1 commit intocancelfrom
cancel_wjwwood
Nov 13, 2015
Merged

refactor executor::cancel to use a spinning state#155
jacquelinekay merged 1 commit intocancelfrom
cancel_wjwwood

Conversation

@wjwwood
Copy link
Copy Markdown
Member

@wjwwood wjwwood commented Nov 13, 2015

@jacquelinekay as we discussed off-line.

@wjwwood wjwwood added the in progress Actively being worked on (Kanban column) label Nov 13, 2015
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Haha, I see you didn't find this comment every descriptive

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I've just been trying to be better about code docs in general. 😄

@jacquelinekay
Copy link
Copy Markdown
Contributor

Looks good at first glance. Can you add a test case, maybe in the other PR to system_tests, with two threads that try to enter spin at the same time?

@wjwwood
Copy link
Copy Markdown
Member Author

wjwwood commented Nov 13, 2015

Yup, but should I do it on the cancel branch or my cancel_wjwwood branch?

@jacquelinekay
Copy link
Copy Markdown
Contributor

Either is fine.

@wjwwood
Copy link
Copy Markdown
Member Author

wjwwood commented Nov 13, 2015

I push a commit to this pr with the new tests: ros2/system_tests#73 (ros2/system_tests@3b346be)

I'll leave it to you to merge this branch.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Cancel instead of Cancels.

jacquelinekay added a commit that referenced this pull request Nov 13, 2015
refactor executor::cancel to use a spinning state
@jacquelinekay jacquelinekay merged commit eb3a793 into cancel Nov 13, 2015
@jacquelinekay jacquelinekay removed the in progress Actively being worked on (Kanban column) label Nov 13, 2015
@jacquelinekay jacquelinekay deleted the cancel_wjwwood branch November 13, 2015 17:28
DensoADAS pushed a commit to DensoADAS/rclcpp that referenced this pull request Aug 5, 2022
* ros2GH-155 Improve shared queue usage

Add printouts of message queue size when refilling
Print warning when starving

* ros2GH-155 Extract method for readability

* ros2GH-155 Fix replay timing when starved and improve warning message

* Improve patching in vendor package
mauropasse added a commit to mauropasse/rclcpp that referenced this pull request Aug 27, 2024
* Always publish inter-process on TRANSIENT_LOCAL pubs (ros2#152)

* Fix actions feedback race

 - ros2#2451

* Fix data race in Actions: Part 3

---------

Co-authored-by: Mauro Passerino <mpasserino@irobot.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