O'Reilly logo

Professional Parallel Programming with C#: Master Parallel Extensions With .NET 4 by Gastón C. Hillar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix A. .NET 4 Parallelism Class Diagrams

This appendix includes diagrams for the classes, interfaces, structures, delegates, enumerations, and exceptions that support parallelism with the new lightweight concurrency model and the underlying threading model. There are also references to the chapters that explain the contents of these diagrams in more detail.

TASK PARALLEL LIBRARY

Figure A-1 shows a diagram of the relationship between PLINQ, the Task Parallel Library (TPL), data structures for coordination in parallel programming, threads that support the lightweight concurrency model, and layers of the underlying hardware.

This section includes diagrams for classes, structures, enumerations, and exceptions closely related to the TPL. It is divided into the following topics:

  • System.Threading.Tasks.Parallel classes and structures

  • Task classes, enumerations, and exceptions

System.Threading.Tasks.Parallel Classes and Structures

Figure A-2 shows the diagram for the following classes and structures within the System.Threading.Tasks namespace:

  • Parallel

  • ParallelLoopResult

  • ParallelOptions

  • ParallelLoopState

FIGURE A-1

Figure A-1. FIGURE A-1

FIGURE A-2

Figure A-2. FIGURE A-2

For more information about these classes, read Chapter 2, "Imperative Data Parallelism."

Task Classes, Enumerations, and Exceptions

Figure A-3 shows the diagram ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required