dispenso
A library for task parallelism
 
Loading...
Searching...
No Matches
dispenso::ConcurrentTaskSetExecutor Class Reference

#include <graph_executor.h>

Inherits detail::ExecutorBase.

Public Member Functions

template<typename G >
void operator() (dispenso::ConcurrentTaskSet &tasks, const G &graph, bool wait=true)
 

Detailed Description

Class to invoke Graph or BiPropGraph using dispenso::ConcurrentTaskSet

Definition at line 56 of file graph_executor.h.

Member Function Documentation

◆ operator()()

template<typename G >
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.

Parameters
tasksConcurrentTaskSet to schedule tasks.
graphgraph to invoke
waitif true run tasks.wait() at the end of the function

Definition at line 70 of file graph_executor.cpp.


The documentation for this class was generated from the following files: