Skip to main content
Section

Using callback groups safely with multi-threaded executors

Published: Published on Zhilianhai

Moving to a multi-threaded executor lets concurrent callbacks touch shared state at once, causing silent corruption or crashes.

How to test it

Audit shared state across subscriptions, services, and timers. Group conflicting callbacks into mutually exclusive groups and stress-test concurrency.

Zhilianhai editorial diagram · Callback group, Thread safety, Mutex guard
Zhilianhai editorial diagram · Callback group, Thread safety, Mutex guard

Reference

ROS 2 Jazzy Executors concepts

Browse this section

Information is provided for initial research. Verify specifications, pricing, policies and standards against the original source before making decisions.

BackSection

Company information

Company information comes from the Zhilianhai directory. To update a profile, find the company in the Companies directory or contact us with a verifiable source for review.

Latest section resources

Discussion & enquiries