Saturday, May 08, 2010 8:32 AM
Parallelizing Windows Applications in .NET 4.0
Task Parallel Library gives you the convenience to turn existing sequential code into parallel branches, which may result into significant performance boost since all the available processors are being utilized. Although ThreadPool.QueueUserWorkItem is still there and can serve you the same as before, TPL is a more organized library which has richer APIs that support waiting, continuations, better exception handling, and so on. It is available at System.Threading.Tasks namespace. I have just written this article which tells you how you can start doing it: "Parallelizing Windows Applications in .NET 4.0".
Filed under: Task Parallel Library, C# 4.0, Article