Chapter 27. Introducing the Task Parallel Library

After completing the chapter, you will be able to

  • Describe the benefits that implementing parallel operations in an application can bring.

  • Explain how the Task Parallel Library provides an optimal platform for implementing applications that can take advantage of multiple processor cores.

  • Use the Task class to create and run parallel operations in an application.

  • Use the Parallel class to parallelize some common programming constructs.

  • Use tasks with threads to improve responsiveness and throughput in graphical user interface (GUI) applications.

  • Cancel long-running tasks, and handle exceptions raised by parallel operations.

You have now seen how to use Microsoft Visual C# to build applications that provide ...

Get Microsoft® Visual C#® 2010 Step by Step now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.