Skip to content
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

Single threaded executor for multiple nodes #2

Open
sayali-purdue opened this issue Aug 25, 2024 · 0 comments
Open

Single threaded executor for multiple nodes #2

sayali-purdue opened this issue Aug 25, 2024 · 0 comments

Comments

@sayali-purdue
Copy link

In each of the following files minimal_lock_free_queue.cpp and minimal_sched_fifo_callback_group.cpp, an executor with a single thread is used to process callbacks of two nodes, which means a single thread is responsible to process callbacks of multiple callback groups. As per the ROS documentation, callbacks from different groups can execute in parallel. So, Using a multi-threaded executor would be more efficient for this use case.

Would appreciate if you could share your thoughts/reasoning on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant