ParallelFor.h File Reference

Namespaces

 DD::Image
 

Macros

#define FN_PARALLEL_FOR_THREADS
 

Functions

template<typename Function >
void DD::Image::ParallelFor (unsigned int numItems, Function f, unsigned int maxThreads=0, unsigned int minItems=1000)
 
template<typename Function >
void DD::Image::ParallelForRange (unsigned int numItems, Function f, unsigned int maxThreads=0, unsigned int minItems=1000)
 

Detailed Description

An implementation of parallel for loops using Nuke's thread pool. Use the functions in this file for multithreading loops. The main use for this in Nuke is for multithreading ParticleOps and GeoOps as Iops are already multithreaded, although it could be useful for rendering PlanarIops



©2019 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.thefoundry.co.uk