Re: [ros-users] Can service answers be asynchronous?

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: User discussions
Date:  
To: User discussions
Subject: Re: [ros-users] Can service answers be asynchronous?
>
> 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.

Josh