diff --git a/unit_tests/falco/test_atomic_signal_handler.cpp b/unit_tests/falco/test_atomic_signal_handler.cpp index 94e55133..a2e8accf 100644 --- a/unit_tests/falco/test_atomic_signal_handler.cpp +++ b/unit_tests/falco/test_atomic_signal_handler.cpp @@ -35,10 +35,10 @@ TEST(AtomicSignalHandler, handle_once_wait_consistency) constexpr const auto thread_wait_sec = 2; constexpr const auto handler_wait_sec = 1; - // have a shared signal hander + // have a shared signal handler falco::atomic_signal_handler handler; - // launch a bunch of threads all synching on the same handler + // launch a bunch of threads all syncing on the same handler typedef struct { bool handled; diff --git a/userspace/falco/atomic_signal_handler.h b/userspace/falco/atomic_signal_handler.h index 21ae5eac..f9191de2 100644 --- a/userspace/falco/atomic_signal_handler.h +++ b/userspace/falco/atomic_signal_handler.h @@ -107,7 +107,7 @@ namespace falco try { f(); - // note: the action may have forcely resetted + // note: the action may have forcely reset // the signal handler, so we don't want to create // an inconsistent state if (triggered())