Chapter 7. Leveraging Parallel Patterns

There are many programming rules, tricks, and typical patterns related to concurrent programming that have been developed to address concrete problems that often happen in practice. In this chapter, we will go through several kinds of concurrent programming patterns—low-level patterns (concurrent idioms), .NET-specific patterns for asynchronous programming (Asynchronous Programming Patterns), and high-level concurrent application building blocks (Concurrent Design Patterns). Let's review them one by one.

Concurrent idioms

The .NET Framework platform contains some high-level components that make concurrent applications programming much easier. In Chapter 6, Using Concurrent Data Structures, we reviewed concurrent ...

Get Mastering C# Concurrency 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.