AWS SDK for C++AWS SDK for C++ Version 1.11.792 |
#include <SameThreadExecutor.h>
An executor that does not spawn any thread, instead, tasks are executed in the current thread TODO: add await functionality to avoid deadlocking if thread waits for another async task.
Definition at line 23 of file SameThreadExecutor.h.
Definition at line 31 of file SameThreadExecutor.h.
To implement your own executor implementation, then simply subclass Executor and implement this method.
Implements Aws::Utils::Threading::Executor.
Call to wait until all tasks have finished.
Reimplemented from Aws::Utils::Threading::Executor.
Definition at line 32 of file SameThreadExecutor.h.