-
Notifications
You must be signed in to change notification settings - Fork 5
Too many threads -> go green ? #118
Copy link
Copy link
Open
Labels
Description
rospy create multiple threads in a few places...
This means there is one thread per topic (publisher side for async send) it seems.
These threads being OS threads, there will be fighting for CPU resources in OS scheduler (with context switching overhead).
It would be nice to propose alternatives to the user...
Maybe pyros could duck punch the threading module for rospy and allow using greenthreads ?
or maybe a patch directly in rospy ?
Reactions are currently unavailable