Skip to content

Commit

Permalink
expand documentation for MultiThreadedExecutor's spin method
Browse files Browse the repository at this point in the history
  • Loading branch information
Cakem1x committed Mar 28, 2024
1 parent c3e1c7d commit 6946937
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion rclcpp/include/rclcpp/executors/multi_threaded_executor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,12 @@ class MultiThreadedExecutor : public rclcpp::Executor
RCLCPP_PUBLIC
virtual ~MultiThreadedExecutor();

/// Multi-threaded implementation of spin.
/**
* \sa rclcpp::Executor:spin() for more details
* This function will block until work comes in, and try to execute all work with
* configured multiple threads, and then repeat the process until canceled.
* It may be interrupted by a call to rclcpp::Executor::cancel() or by ctrl-c
* if the associated context is configured to shutdown on SIGINT.
* \throws std::runtime_error when spin() called while already spinning
*/
RCLCPP_PUBLIC
Expand Down

0 comments on commit 6946937

Please sign in to comment.