.NET Parallel Programming

All about Async/Await, System.Threading.Tasks, System.Collections.Concurrent, System.Linq, and more…

New case studies on Parallel Extensions

In coordination with today's launch of Visual Studio 2010 and the .NET Framework 4, several case studies have been published on how companies are taking advantage of parallel computing with the .NET Framework to improve the performance of their applications.  It's exciting to see the benefits these companies are seeing and how parallelism...

ParallelExtensionsExtras Tour – #7 – Additional TaskSchedulers

(The full set of ParallelExtensionsExtras Tour posts is available here.)In our last two ParallelExtensionsExtras blog tour posts, we’ve discussed two TaskScheduler implementations in ParallelExtensionsExtras: StaTaskScheduler and ConcurrentExclusiveInterleave.  These are just 2 of more than 10 schedulers in ParallelExtensionsExtras...

ParallelExtensionsExtras Tour – #6 – ConcurrentExclusiveInterleave

(The full set of ParallelExtensionsExtras Tour posts is available here.)   As mentioned in the previous ParallelExtensionsExtras blog tour post, the Task Parallel Library (TPL) supports an extensible task scheduling mechanism, and we demonstrated how an StaTaskScheduler could be implemented that scheduled tasks onto custom STA ...

Parallelism coverage in April 2010 MSDN Magazine

The April 2010 issue of MSDN Magazine is now available, and it has several nice articles that highlight the new parallel programming support in Visual Studio 2010.  Check out Doug Turnure's "Better Coding: Better Coding with Visual Studio 2010" and Sumit Kumar's "Visual C++: Exploring New C++ and MFC Features in Visual Studio 2010".(...

ParallelExtensionsExtras Tour – #4 – BlockingCollectionExtensions

(The full set of ParallelExtensionsExtras Tour posts is available here.)   BlockingCollection<T> encapsulates the core synchronization and coordination necessary to enable classic producer/consumer patterns.  ParallelExtensionsExtras provides the BlockingCollectionExtensions.cs file, which contains several extension ...