Blender  V3.3
Namespaces | Functions
BLI_task.hh File Reference
#include "BLI_index_range.hh"
#include "BLI_utildefines.h"

Go to the source code of this file.

Namespaces

 blender
 
 blender::threading
 

Functions

template<typename Range , typename Function >
void blender::threading::parallel_for_each (Range &range, const Function &function)
 
template<typename Function >
void blender::threading::parallel_for (IndexRange range, int64_t grain_size, const Function &function)
 
template<typename Value , typename Function , typename Reduction >
Value blender::threading::parallel_reduce (IndexRange range, int64_t grain_size, const Value &identity, const Function &function, const Reduction &reduction)
 
template<typename... Functions>
void blender::threading::parallel_invoke (Functions &&...functions)
 
template<typename... Functions>
void blender::threading::parallel_invoke (const bool use_threading, Functions &&...functions)
 
template<typename Function >
void blender::threading::isolate_task (const Function &function)