In this article
A waiting callback can hold the exclusion that its response processing needs; executor thread capacity and callback-group permission are different constraints.
The service answers while its caller still waits
A timer callback requests a harmless service synchronously. The server logs a response, but the calling timer does not finish. Increasing executor threads appears ineffective. The missing dependency may be on the client side: completing the call requires callback execution that the waiting caller itself excludes. Draw the path from request submission through response handling and Future completion. A server response log establishes progress at the server, not permission for every callback required to release the client.
The synchronous API contains a less visible callback
The Kilted callback-group guide explains that a synchronous Python service call introduces a Future done-callback. The client’s group governs callbacks it creates. If the timer and client share a mutually exclusive group, the timer can wait while holding the permission needed for completion. Merely reading the visible timer body misses that callback. Include client-created work in the dependency review instead of assuming the response is delivered by an unrelated unrestricted thread.
Thread capacity does not override group exclusion
The node’s default callback group is mutually exclusive in the reviewed guide. Leaving all entities there can serialize the node even with a multithreaded executor. The Python client API explicitly warns about synchronous calls inside callbacks. Check actual group assignments before treating thread count as the remedy. Also verify that groups remain referenced. A group configuration intended on paper is insufficient if the relevant client or timer was actually created with a default group.
Choose a progress path and review shared state
An asynchronous request followed by a continuation can allow the initiating callback to return. Alternatively, the documented synchronous arrangement needs compatible executor capacity and group separation or reentrancy. Neither option automatically makes shared application state thread safe. Review which callbacks may now overlap, including repeated instances of a reentrant callback. Do not hold another application lock while waiting for a response handler that needs that lock. Fixing the group cycle should not introduce an equivalent cycle through a mutex.
Use a nonactuating completion trace
Propose a minimal timer and echo service with markers for callback entry, request submission, response processing and caller completion. Compare the same-group synchronous case with an asynchronous continuation or reviewed separate-group arrangement. Bound the fixture externally so a stalled case does not wait indefinitely. Acceptance requires an explained completion path, not a guessed speedup. No executor or ROS service was run here. Keep middleware version, executor configuration and group assignments with the proposed reproduction.
Preserve the scheduling explanation
HIP host-function restrictions describe another constrained callback context. Stream ordering and dependencies show why available workers alone do not establish progress. The ROS diagnosis should identify the waiting callback, the blocked completion and the exclusion they share. That evidence supports a targeted scheduling change. It does not establish that every future service call will complete, that shared state is race free or that a physical control loop now meets its timing requirements.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.