GrPPI  0.2
Generic and Reusable Parallel Pattern Interface
Namespaces | Functions
native/farm.h File Reference
#include "parallel_execution_native.h"
#include <thread>
#include <utility>
#include <memory>
#include <experimental/optional>
Include dependency graph for native/farm.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 grppi
 

Functions

template<typename Generator , typename Consumer >
void grppi::farm (parallel_execution_native &ex, Generator generate_op, Consumer consume_op)
 Invoke Farm pattern on a data stream with native parallel execution with a generator and a consumer. More...
 
template<typename Generator , typename Transformer , typename Consumer >
void grppi::farm (parallel_execution_native &ex, Generator generate_op, Transformer transform_op, Consumer consume_op)
 Invoke Farm pattern on a data stream with native parallel execution with a generator and a consumer. More...