Factory to build different types of pulse thread pools.
More...
#include <PulseThreadPoolFactory.h>
Factory to build different types of pulse thread pools.
- Author
- Alberto M. Esmoris Pena
- Version
- 1.0
- See also
- PulseThreadPool
-
PulseWarehouseThreadPool
-
PulseThreadPoolInterface
◆ makeBasicPulseThreadPool()
std::shared_ptr<PulseThreadPool> PulseThreadPoolFactory::makeBasicPulseThreadPool |
( |
| ) |
const |
|
inline |
Build a basic pulse thread pool.
- Returns
- Built basic pulse thread pool
- See also
- PulseThreadPool
◆ makePulseThreadPool()
Build the pulse thread pool corresponding with current factory configuration/state.
- Returns
- Built pulse thread pool
◆ makePulseWarehouseThreadPool()
Build a warehouse based pulse thread pool.
- Returns
- Built warehouse based pulse thread pool
- See also
- PulseWarehouseThreadPool
◆ chunkSize
int PulseThreadPoolFactory::chunkSize |
|
protected |
◆ deviceAccuracy
double PulseThreadPoolFactory::deviceAccuracy |
|
protected |
◆ parallelizationStrategy
int PulseThreadPoolFactory::parallelizationStrategy |
|
protected |
The parallelization strategy defining the thread pool.
Strategy 0 is a chunk based strategy while strategy 1 is a warehouse based strategy
◆ poolSize
std::size_t PulseThreadPoolFactory::poolSize |
|
protected |
◆ warehouseFactor
int PulseThreadPoolFactory::warehouseFactor |
|
protected |
The warehouse factor for the thread pool, if needed. The maximum number of tasks for a TaskWarehouse will be the pool size multiplied by this factor.
- See also
- TaskWarehouse::maxTasks
The documentation for this class was generated from the following file: