|
dispenso 1.4.1
A library for task parallelism
|
#include <for_each.h>
Public Attributes | |
| uint32_t | maxThreads = std::numeric_limits<int32_t>::max() |
| bool | wait = true |
A set of options to control for_each
Definition at line 28 of file for_each.h.
| uint32_t dispenso::ForEachOptions::maxThreads = std::numeric_limits<int32_t>::max() |
The maximum number of threads to use. This can be used to limit the number of threads below the number associated with the TaskSet's thread pool to control the degree of concurrency. Setting maxThreads to zero or one will result in serial operation.
Definition at line 34 of file for_each.h.
| bool dispenso::ForEachOptions::wait = true |
Specify whether the return of the for_each signifies the work is complete. If the for_each is initiated without providing a TaskSet, the for_each will always wait.
Definition at line 43 of file for_each.h.