[ros-users] Can service answers be asynchronous?

Josh Faust jfaust at willowgarage.com
Wed Oct 6 20:13:11 UTC 2010

>  In [1], there is
> documentation on how to run each node or each service in their own
> threads, but not each request.

There is no way of spinning up a thread for each individual request -- I
doubt this is what you want anyway, as it's incredibly wasteful.  If you
service the callback queue associated with the requests from multiple
threads (either using an AsyncSpinner or manually with callOne()), they'll
get serviced concurrently.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20101006/1088c11b/attachment-0003.html>

More information about the ros-users mailing list