Chapter 15: Parallel Programming
In this chapter, you will learn how to take advantage of the multiple CPU cores that are available in today’s modern computers. You will learn how to process your code by distributing the work between processes concurrently, as well as how to use the Task Parallel Library (TPL) and Parallel LINQ (PLINQ) to run code in parallel. Throughout this book, you will learn how to use parallel data structures and use the Visual Studio debugger to diagnose tasks and parallel stacks. You will also learn about the Concurrency Visualizer.
In this chapter, we will cover the following topics:
- Using the Task Parallel Library (TPL): In this section, we will compare parallel and non-parallel code and its effect on CPU core utilization ...
Get High-Performance Programming in C# and .NET now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.