O'Reilly logo

Multithreading in C# 5.0 Cookbook by Eugene Agafonov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Implementing Parallel Pipeline with TPL DataFlow

This recipe shows how to implement a Parallel Pipeline pattern with the help of TPL DataFlow library.

Getting ready

To start with this recipe, you will need a running Visual Studio 2012. There are no other prerequisites. The source code for this recipe could be found at 7644_Code\Chapter10\Recipe3.

How to do it...

To understand how to implement Parallel Pipeline with TPL DataFlow, perform the following steps:

  1. Start Visual Studio 2012. Create a new C# Console Application project.
  2. Add references to the Microsoft TPL DataFlow NuGet package.
    1. Right-click on the References folder in the project and select the Manage NuGet Packages... menu option.
    2. Now add your preferred references to the Microsoft TPL DataFlow ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required