C++

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:

References

[1]   "Memory Consistency & .NET", Arch D. Robison, Dr. Dobb’s Journal, April 2003.

[2]   A Formal Specification of Intel® Itanium® Processor Family Memory Ordering, Intel Corporation, October 2002.

Iscriversi a C++