ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
FastFlowExecutor.h

The executor on the threads of FastFlow, beyond the book, compiled only with ADS_WITH_FASTFLOW (the CMake option of the same name, OFF by default) and the headers of FastFlow on the path. More...

Files

file  ADS/parallel/FastFlowExecutor.h
 The executor [see Executor.h] on the threads of FastFlow, beyond the book, compiled only with ADS_WITH_FASTFLOW (the CMake option of the same name, OFF by default) and the headers of FastFlow on the path: bulk( n , f ) is a parallel_for of a ParallelFor of FastFlow on \( n \) indices in chunks of 1, scheduled dynamically by the workers themselves (the scheduler thread is disabled, since the pool already has as many workers as threads), so that the parallel algorithms of ADS run on FastFlow unchanged.

Classes

class  ADS::FastFlowLock
 the spin lock of FastFlow, ff::lock_t, as a mutex of the standard More...
class  ADS::FastFlowExecutor
 the executor on a ParallelFor of FastFlow More...

Detailed description

The executor on the threads of FastFlow, beyond the book, compiled only with ADS_WITH_FASTFLOW (the CMake option of the same name, OFF by default) and the headers of FastFlow on the path.

The definitions, the invariants and the costs of the area are in Theory of parallelism.