.NET Parallel Programming

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

More case studies on .NET 4 parallelism support

When .NET 4 was launched, we blogged about several case studies published regarding usage of .NET 4 to parallelize applications.  Quite recently, several additional case studies have been published.  I love reading these in order to better understand how folks are applying this technology, and parallelism in general, to improve their...

Static constructor deadlocks

One important fact to know about static constructors is that they effectively execute under a lock. The CLR must ensure that each type is initialized exactly once, and so it uses locking to prevent multiple threads from executing the same static constructor. A caveat, however, is that executing the static constructor under ...

Presentation on TPL Dataflow in financial applications

Matt Davey from Lab49 presented at the Waters North American Trading Architecture Summit April 2011 on using TPL Dataflow in trading solutions.  You can see his slide deck at http://www.slideshare.net/mattdotdavey/waters-north-american-trading-architecture-summit-april-2011. It's awesome to see the technology being used effectively to ...