Skip to main content
Section

Why calling another service synchronously inside a callback deadlocks

Published: Published on Zhilianhai

Blocking on a downstream service inside a mutually exclusive callback prevents the response callback from ever running, deadlocking the node.

How to test it

Audit service clients, switch to async callbacks or isolated callback groups, and verify timeout handling under simulated stalls.

Zhilianhai editorial diagram · Sync call, Callback deadlock, Async future
Zhilianhai editorial diagram · Sync call, Callback deadlock, Async future

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