#include <graph_executor.h>
Inherits detail::ExecutorBase.
Public Member Functions | |
| template<typename G > | |
| void | operator() (dispenso::ConcurrentTaskSet &tasks, const G &graph, bool wait=true) |
Class to invoke Graph or BiPropGraph using dispenso::ConcurrentTaskSet
Definition at line 56 of file graph_executor.h.
| template DISPENSO_DLL_ACCESS void dispenso::ConcurrentTaskSetExecutor::operator() | ( | dispenso::ConcurrentTaskSet & | tasks, |
| const G & | graph, | ||
| bool | wait = true ) |
Invoke the graph. This is not concurrency safe.
| tasks | ConcurrentTaskSet to schedule tasks. |
| graph | graph to invoke |
| wait | if true run tasks.wait() at the end of the function |
Definition at line 70 of file graph_executor.cpp.