transwarp
|
Executor for sequential execution. Runs functors sequentially on the same thread. More...
#include <transwarp.h>
Public Member Functions | |
sequential (const sequential &)=delete | |
sequential & | operator= (const sequential &)=delete |
sequential (sequential &&)=delete | |
sequential & | operator= (sequential &&)=delete |
std::string | name () const override |
Returns the name of the executor. | |
void | execute (const std::function< void()> &functor, transwarp::itask &) override |
Runs the functor on the current thread. | |
Executor for sequential execution. Runs functors sequentially on the same thread.