parallel_for Function
parallel_for iterates over a range of indices and executes a user-supplied function at each iteration, in parallel.
template < typename _Index_type, typename _Function > void parallel_for( _Index_type_First, _Index_type_Last, _Index_type_Step, const _Function& _Func ); template < typename _Index_type, typename _Function > void parallel_for( _Index_type_First, _Index_type_Last, const _Function& _Func );
For more information, see Parallel Algorithms.