Workspace 7.0.2
Namespaces | Functions
parallel_for_i.h File Reference
#include <algorithm>
#include <functional>
#include <iostream>
#include <thread>
#include <vector>
Include dependency graph for parallel_for_i.h:

Namespaces

namespace  CSIRO
 Top level namespace for all Workspace code.
 

Functions

static void parallel_for_i (std::function< void(size_t start, size_t end)> functor, size_t endIndex, size_t startIndex=0, size_t numThreads=0)
 Run a multi-threaded function over an integer range.