Skip to content

add support for reentrant callback group to EventsCBGExecutor#3178

Open
armaho wants to merge 2 commits into
ros2:rollingfrom
armaho:events_cbg_executor_reentrant
Open

add support for reentrant callback group to EventsCBGExecutor#3178
armaho wants to merge 2 commits into
ros2:rollingfrom
armaho:events_cbg_executor_reentrant

Conversation

@armaho

@armaho armaho commented Jun 18, 2026

Copy link
Copy Markdown

Description

Fixes #3175

Is this user-facing behavior change?

Did you use Generative AI?

No

Additional Information

Signed-off-by: Arman Hosseini <armahosseini878787@gmail.com>
@skyegalaxy skyegalaxy requested review from jmachowinski and skyegalaxy and removed request for jmachowinski June 18, 2026 16:00

@skyegalaxy skyegalaxy left a comment

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.

lgtm with green CI. will let @jmachowinski take a pass as well

{
ready_callback_groups.erase(it);
}
return CBGScheduler::ExecutableEntityWithInfo{

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.

note to self to remove C++20 initialization when backporting this to Jazzy and Kilted specifically

@skyegalaxy

Copy link
Copy Markdown
Member

actually @armaho can you add a test which exercises the reentrant path like we discussed at the client library WG meeting?

@armaho

armaho commented Jun 19, 2026

Copy link
Copy Markdown
Author

@skyegalaxy

Sure let me see how to test it.

@mergify

mergify Bot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

…er EventCBGExecutor

Signed-off-by: Arman Hosseini <armahosseini878787@gmail.com>
@armaho armaho force-pushed the events_cbg_executor_reentrant branch from 554512d to 855d1b2 Compare June 19, 2026 13:29
@armaho

armaho commented Jun 19, 2026

Copy link
Copy Markdown
Author

@skyegalaxy

I just added a test covering the reentrant callback group behavior. Could you take another look when you have time?

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.

EventsCBGExecutor treats reentrant callback groups like they're mutually exclusive

2 participants