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

refactor(perception_rviz_plugin): apply thread pool to manage detached thread #1023

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

TomohitoAndo
Copy link

@TomohitoAndo TomohitoAndo commented Nov 17, 2023

Description

cherry-pick

Tests performed

Not applicable.

Effects on system behavior

Not applicable.

Pre-review checklist for the PR author

The PR author must check the checkboxes below when creating the PR.

In-review checklist for the PR reviewers

The PR reviewers must check the checkboxes below before approval.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

  • There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

…d thread (autowarefoundation#5418)

* apply thread pool to manage detached thread

Signed-off-by: Owen-Liuyuxuan <[email protected]>

* style(pre-commit): autofix

* clean up the destructor

Signed-off-by: Owen-Liuyuxuan <[email protected]>

* style(pre-commit): autofix

* use function object in the queue instead

Signed-off-by: Owen-Liuyuxuan <[email protected]>

* style(pre-commit): autofix

* fix condition variable naming problem

Signed-off-by: Owen-Liuyuxuan <[email protected]>

* add utility include for CI

Signed-off-by: Owen-Liuyuxuan <[email protected]>

---------

Signed-off-by: Owen-Liuyuxuan <[email protected]>
Co-authored-by: Owen-Liuyuxuan <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
@TomohitoAndo TomohitoAndo changed the title refactor(perception_rviz_plugin): apply thread pool to manage detache… refactor(perception_rviz_plugin): apply thread pool to manage detached thread Nov 17, 2023
@TomohitoAndo TomohitoAndo requested a review from 0x126 November 17, 2023 05:30
Copy link

@0x126 0x126 left a comment

Choose a reason for hiding this comment

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

LGTM
Once this PR is in place, there should be no more multiple launches when rviz is started from the desktop shortcut.

@TomohitoAndo TomohitoAndo merged commit 060475c into beta/v0.11.1 Nov 20, 2023
19 checks passed
@TomohitoAndo TomohitoAndo deleted the fix-rviz-plugin branch November 20, 2023 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants