mirror of
https://github.com/falcosecurity/falco.git
synced 2025-09-01 06:37:22 +00:00
chore: fix typos
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
This commit is contained in:
@@ -35,10 +35,10 @@ TEST(AtomicSignalHandler, handle_once_wait_consistency)
|
|||||||
constexpr const auto thread_wait_sec = 2;
|
constexpr const auto thread_wait_sec = 2;
|
||||||
constexpr const auto handler_wait_sec = 1;
|
constexpr const auto handler_wait_sec = 1;
|
||||||
|
|
||||||
// have a shared signal hander
|
// have a shared signal handler
|
||||||
falco::atomic_signal_handler 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
|
typedef struct
|
||||||
{
|
{
|
||||||
bool handled;
|
bool handled;
|
||||||
|
@@ -107,7 +107,7 @@ namespace falco
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
f();
|
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
|
// the signal handler, so we don't want to create
|
||||||
// an inconsistent state
|
// an inconsistent state
|
||||||
if (triggered())
|
if (triggered())
|
||||||
|
Reference in New Issue
Block a user