Skip to content

Commit

Permalink
fix (signal_handler.hpp): spelling (ros2#2356)
Browse files Browse the repository at this point in the history
Signed-off-by: Zard-C <[email protected]>
  • Loading branch information
Zard-C authored and Barry-Xu-2018 committed Jan 12, 2024
1 parent 5d0b4e0 commit f985e39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rclcpp/src/rclcpp/signal_handler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class SignalHandler final
bool
install(SignalHandlerOptions signal_handler_options = SignalHandlerOptions::All);

/// Uninstall the signal handler for SIGINT/SIGTERM and join the dedicated singal handling
/// Uninstall the signal handler for SIGINT/SIGTERM and join the dedicated signal handling
/// thread.
/**
* Also restores the previous signal handler.
Expand Down Expand Up @@ -189,7 +189,7 @@ class SignalHandler final

// Whether or not a signal has been received.
std::atomic_bool signal_received_ = false;
// A thread to which singal handling tasks are deferred.
// A thread to which signal handling tasks are deferred.
std::thread signal_handler_thread_;

// A mutex used to synchronize the install() and uninstall() methods.
Expand Down

0 comments on commit f985e39

Please sign in to comment.