MeshLib
 
Loading...
Searching...
No Matches
MR::Parallel Namespace Reference

Classes

struct  CallSimply
 
struct  CallSimplyMaker
 
struct  CallWithTLS
 
struct  CallWithTLSMaker
 

Functions

template<typename I , typename CM , typename F >
void For (I begin, I end, const CM &callMaker, F &&f)
 
template<typename I , typename CM , typename F >
bool For (I begin, I end, const CM &callMaker, F &&f, ProgressCallback cb, size_t reportProgressEvery=1024)
 

Function Documentation

◆ For() [1/2]

template<typename I , typename CM , typename F >
void MR::Parallel::For ( I begin,
I end,
const CM & callMaker,
F && f )

◆ For() [2/2]

template<typename I , typename CM , typename F >
bool MR::Parallel::For ( I begin,
I end,
const CM & callMaker,
F && f,
ProgressCallback cb,
size_t reportProgressEvery = 1024 )