Skip to content

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

Merged
fujitatomoya merged 4 commits intoros2:rollingfrom
jncfa:rolling
May 11, 2025
Merged

Improve readibility of reported thread ids in the multithreaded executor example#415
fujitatomoya merged 4 commits intoros2:rollingfrom
jncfa:rolling

Conversation

@jncfa
Copy link
Copy Markdown
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.

Signed-off-by: jncfa <20467009+jncfa@users.noreply.github.com>
Copy link
Copy Markdown
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 <20467009+jncfa@users.noreply.github.com>
@jncfa jncfa requested a review from fujitatomoya May 10, 2025 15:18
Copy link
Copy Markdown
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
Copy Markdown
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

jncfa added 2 commits May 11, 2025 11:19
Signed-off-by: jncfa <20467009+jncfa@users.noreply.github.com>
Signed-off-by: jncfa <20467009+jncfa@users.noreply.github.com>
@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