Refactoring "for" Loops to Run in Parallel

Play Refactoring "for" Loops to Run in Parallel
Sign in to queue


Join Danny Shih as he demonstrates how to use the Task Parallel Library (TPL) to refactor sequential "for" loops so that they execute in parallel.  He’ll also cover breaking out of parallelized loops.Collections and related constructs are new with .NET4 and Visual Studio 2010.

Learn more about the .NET Framework 4 and keep abreast of Parallel Computing tools and techniques via the Concurrency Dev Center.

See all videos in this series.



Download this episode

The Discussion

Add Your 2 Cents