May 2010
Intermediate to advanced
1272 pages
61h 18m
English
Parallelism in the .NET Framework 4.0 is possible due to a number of classes, some responsible for maintaining the architecture of the TPL and some for performing operations in a concurrent fashion. The following subsection provides a brief coverage of the most important classes, describing their purpose.
Parallel ClassThe System.Threading.Tasks.Parallel class is one of the most important classes in parallel computing, because it provides shared methods for running concurrent tasks and for executing parallel loops. In this chapter you can find several examples of usage of this class; for now you just need to know that it provides the Invoke, For, and ForEach shared methods. The first one enables running multiple ...
Read now
Unlock full access