Wednesday, December 02, 2009

TPL (That is, Task Parallel Library) Article of the Day: “Parent-Child Task Relationships in the .Net Framework 4”

Microsoft Downloads - Articles on Parallel Programming with the .NET Framework 4 (Parent-Child Task Relationships in the .Net Framework 4)

“A set of articles that provide information on parallel programming with the .NET Framework 4.

File Name: ParentChildTPLTasksRelationship.pdf
Version: 1.0
Date Published: 12/1/2009
Language: English
Download Size: 787 KB


Overview

The .NET Framework 4 includes extended support for writing parallel applications, through enhancements to the CLR itself as well as through new libraries commonly referred to as "Parallel Extensions to the .NET Framework." The set of articles available in this download provides detailed information on Parallel Extension, including the Task Parallel Library (TPL), Parallel LINQ (PLINQ), and a set of new coordination primitives and thread-safe data structures. These articles provide insights into performance characteristics, usage patterns, best practices, integration of parallelism with other programming frameworks, and more.

…”

From the PDF;

“This document provides an in-depth explanation on parent-child task relationships offered by the Task Parallel Library as in the .NET Framework 4. This includes the behavioral changes implied by being a parent or child task in terms of task completion, task waiting, as well as task cancellation. In addition, it also points out a few common oversights and provides general guidelines on when to take advantage of this feature.

image image

…”

One of the more foundational changes coming in .Net 4 is its support for new multithreaded programming models. PLINQ, PFX, Tasks, etc are going to help us deliver applications that take advantage of all those cores in our systems, without our brains exploding…

That and every time I see “TPL” I chuckle…

No comments: