From fb464b027075bd981200886f59a7781362f50b75 Mon Sep 17 00:00:00 2001 From: Nicola Loi Date: Fri, 6 Dec 2024 22:40:45 +0100 Subject: [PATCH] comments Signed-off-by: Nicola Loi --- rosbag2_transport/src/rosbag2_transport/player.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rosbag2_transport/src/rosbag2_transport/player.cpp b/rosbag2_transport/src/rosbag2_transport/player.cpp index 2903c31c3..05d91ee83 100644 --- a/rosbag2_transport/src/rosbag2_transport/player.cpp +++ b/rosbag2_transport/src/rosbag2_transport/player.cpp @@ -319,10 +319,10 @@ class PlayerImpl void print_progress_bar_help_str() const; // Update progress bar taking into account the update rate set by the user. // The function should be called for regular progress bar updates, for example - // after the recurrent message publishing. - // Call update_progress_bar_check_rate function only if the function cannot run - // contemporaneously in multiple threads, i.e. function calls are already protected by a mutex: - // to avoid locking overhead no new mutex inside the function is directly protecting + // after the recurrent publishing of the messages. + // Call update_progress_bar_check_rate function only where it cannot run + // contemporaneously in multiple threads, i.e. function calls are already protected by a mutex. + // To avoid locking overhead no new mutex inside the function is directly protecting // the access to the class attribute progress_bar_last_time_updated_. void update_progress_bar_check_rate( const rcutils_time_point_value_t & timestamp,