How to Parallelize Your Application - Part 2 Threads v Tasks

Download this episode

Download Video

Description

In Part 2 of this series, ISV Architect Evangelist Bruce Kyle, explores the differences between Threads and System.Threading.Tasks in .NET 4.

In this three part series, see how you can use new features in .NET Framework 4 to take advantage of multi-core processors.

  • In Part 1 of the series, we show why you care about multiple processors and how it can effect the performance in your application.
  • In Part 2 we compare the new Tasks feature in .NET with Threads.
  • In Part 3 we show three ways of using the parallel features to enable your application for multi-core processors.

For more information and to see the code used in the video, see How to Get Started with Multi-Core: Parallel Processing You Can Use.

See also, Justin Etheredge's posting .NET 4.0 and System.Threading.Tasks for detail look at how to use Tasks in your applications.

To find out how to use Task asynchronously for operations such as file IO and accessing Web Services, see how Jeffrey Richter uses his AsychEnumerator with Task in his blog posting, Using .NET 4.0 Tasks with the AsyncEnumerator or see it in action at Jeffrey Richter and his AsyncEnumerator on Channel 9.

Other parallel computing resources:


For up to date information for developers and ISVs, see US ISV Developer Community Blog

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.