Improving your C# Skills
上QQ阅读APP看书,第一时间看更新

Design patterns for parallel programming

There are various ways in which the tasks can be designed to run in parallel. In this section, we will learn some top design patterns used in TPL:

  • Pipeline pattern
  • Dataflow pattern
  • Producer-consumer pattern
  • Parallel.ForEach
  • Parallel LINQ (PLINQ)