#include <join/condition.hpp>
#include <join/thread.hpp>
#include <functional>
#include <thread>
#include <memory>
#include <atomic>
#include <vector>
#include <deque>
Go to the source code of this file.
|
| template<class InputIt , class Func > |
| void | join::distribute (InputIt first, InputIt last, Func function) |
| | determine the number of threads and tasks per thread to run and execute them in parallel.
|
| |
| template<class InputIt , class Func > |
| void | join::parallelForEach (InputIt first, InputIt last, Func function) |
| | parrallel for each loop.
|
| |