3 #include "util/AsyncExecutor.h"
4 #include "util/Loggable.h"
5 #include "util/ThreadRecursionProtector.h"
18 typedef Poco::SharedPtr<NonAsyncExecutor> Ptr;
20 void invoke(std::function<
void()> f)
override;
Definition: AsyncExecutor.h:12
Implementation of AsyncExecutor that executes the tasks directly in the current thread. Thus, the execution is in fact not asynchronous. The purpose of the NonAsyncExecutor is to provide a way how to deal with delegation of asynchronous processing (that is already in a separate thread) to another AsyncExecutor-based system.
Definition: NonAsyncExecutor.h:16
void invoke(std::function< void()> f) override
Definition: NonAsyncExecutor.cpp:8
ThreadRecursionProtector allows to prevent a recursive or repetitive execution of a code...
Definition: ThreadRecursionProtector.h:14
Definition: Loggable.h:19