Skip to content

Improve readibility of reported thread ids in the multithreaded executor example #415

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

Merged
merged 4 commits into from
May 11, 2025

Conversation

jncfa
Copy link
Contributor

@jncfa jncfa commented May 9, 2025

Closes #413

Assigns an arbitrary index to each thread to make it easier to identify the threads in the log output on systems with many CPU cores.

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.

@jncfa thanks for the PR.

a few cpplint and uncrustify warnings, can you address https://build.ros2.org/job/Rpr__examples__ubuntu_noble_amd64/34/testReport/

Signed-off-by: jncfa <[email protected]>
@jncfa jncfa requested a review from fujitatomoya May 10, 2025 15:18
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 with nit (i think CI will pick this up). i will start the CI.

@fujitatomoya
Copy link
Collaborator

Pulls: #415
Gist: https://gist.githubusercontent.com/fujitatomoya/bdf2b72aa692f77e8ad4d6fb79ad30fb/raw/a45791b2405b07197a7614a7006bfd96cf08b026/ros2.repos
BUILD args: --packages-above-and-dependencies examples_rclcpp_multithreaded_executor
TEST args: --packages-above examples_rclcpp_multithreaded_executor
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/15953

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

@fujitatomoya fujitatomoya merged commit 153d692 into ros2:rolling May 11, 2025
2 of 3 checks passed
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.

Thread ID seems strange when running examles_rclcpp_multithreaded_executor
2 participants