Intel® Threading Building Blocks

parallel_for

Suppose you want to apply a function Foo to each element of an array, and it is safe to process each element concurrently. Here is the sequential code to do this:

Subscribe to Intel® Threading Building Blocks