The Task Parallel Library

.NET Framework 4.0 introduces the Task Parallel Library (TPL) as the new way to go about writing parallel programs. Key benefits of the TPL include the following:

Image Efficient utilization of the cores available in the machine

Image Intuitive programming model, leveraging lambda expressions and generics

Image Support for task-oriented parallelism based on the notion of Task<T>

Data-oriented parallelism with parallel iteration and PLINQ ...

Get C# 5.0 Unleashed 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.