Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fixed race condition in action server between is_ready and take_…
…data and execute Some background information: is_ready, take_data and execute data may be called from different threads in any order. The code in the old state expected them to be called in series, without interruption. This lead to multiple race conditions, as the state of the pimpl objects was altered by the three functions in a non thread safe way. Signed-off-by: Janosch Machowinski <[email protected]> Signed-off-by: William Woodall <[email protected]> # Conflicts: # rclcpp_action/include/rclcpp_action/server.hpp # rclcpp_action/src/client.cpp # rclcpp_action/src/server.cpp # rclcpp_action/test/test_server.cpp
- Loading branch information