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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.