[ros-users] [Discourse.ros.org] [Next Generation ROS] Multi …

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: Secretary Birds via ros-users
Dato:  
Til: ros-users
Emne: [ros-users] [Discourse.ros.org] [Next Generation ROS] Multi threaded subscription callbacks


I'm hoping someone can solve a debate we're having.

Does each subscription callback run in its own thread? Or do they round-robin in a single thread based on the data order received?

I guess we have assumed that a node with multiple subscriptions were spawning those callbacks in their own thread, which makes things performant. We've even been implementing some data protectors on shared data because of this assumption.

If this isn't the case, then our callbacks must be fast enough, and our algorithms nave enough to hide the fact that data is being processed sequentially.





---
[Visit Topic](https://discourse.ros.org/t/multi-threaded-subscription-callbacks/2863/1) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list

http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>