-
Notifications
You must be signed in to change notification settings - Fork 913
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
roscpp multithreaded spinners eat up CPU when callbacks take too long #2341
Comments
👍 I was the original author of cwecht#1, a follow-up on @cwecht's #1684, that got cerry-picked and merged into The main difference between the two versions is that if the callback queue is not empty, but none of the callbacks is ready, the current version on The problem occurs in the following situation:
As a result, the callback queue ( There is another minor difference between Are you interested in yet another PR to forward-port the relevant commits to |
Done: #2377 |
Issue #1545 was fixed in ROS melodic, but not noetic.
The fix for the issue took a rather meandering rout to getting in, but PR #1684 and PR #2014 both seem related.
As far as I can tell, the offending functions in noetic are the same as in melodic pre fix, so this might be as easy as cherry picking those changes over.
The text was updated successfully, but these errors were encountered: