.NET Parallel Programming

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

A Tour of Various TPL Options

The Task Parallel Library (TPL) exposes various options that give you more control over how tasks get scheduled and executed: Joseph E. Hoag's article A Tour of Various TPL Options explains these options in detail, accompanied by examples of correct and incorrect uses.(This paper and many more are available through the Parallel ...

Parent-Child Task Relationships in the .NET Framework 4

The Task Parallel Library in the .NET Framework 4 provides an opt-in feature that enables parent-child relationships between tasks.  This relationship brings with it some additional behaviors, including that a parent task is not considered completed until all of its child tasks have completed, and that exceptions from ...