Concurrency in C# Cookbook

Concurrency in C# Cookbook : Asynchronous, Parallel, and Multithreaded Programming

4.15 (265 ratings by Goodreads)
By (author) 
4.15 (265 ratings by Goodreads)

Free delivery worldwide

Available. Expected delivery to the United States in 9-14 business days.

Not ordering to the United States? Click here.


If you're one of many developers still uncertain about concurrent and multithreaded development, this practical cookbook will change your mind. With more than 85 code-rich recipes in this updated second edition, author Stephen Cleary demonstrates parallel processing and asynchronous programming techniques using libraries and language features in .NET and C# 8.0.

Concurrency is now more common in responsive and scalable application development, but it's still extremely difficult to code. The detailed solutions in this cookbook show you how modern tools raise the level of abstraction, making concurrency much easier than before. Complete with ready-to-use code and discussions about how and why solutions work, these recipes help you:

Get up to speed on concurrency and async and parallel programming
Use async and await for asynchronous operations
Enhance your code with asynchronous streams
Explore parallel programming with .NET's Task Parallel Library
Create dataflow pipelines with .NET's TPL Dataflow library
Understand the capabilities that System.Reactive builds on top of LINQ
Utilize threadsafe and immutable collections
Learn how to conduct unit testing with concurrent code
Make the thread pool work for you
Enable clean, cooperative cancellation
Examine scenarios for combining concurrent approaches
Dive into asynchronous-friendly object-oriented programming
Recognize and write adapters for code using older asynchronous styles
show more

Product details

  • Paperback | 225 pages
  • 178 x 233 x 13.46mm | 408.23g
  • Sebastopol, United States
  • English
  • 2nd edition
  • 149205450X
  • 9781492054504
  • 187,575

About Stephen Cleary

Stephen Cleary is a developer who with extensive experience ranging from ARM firmware to Azure. He has contributed to open source from the very beginning, starting with the Boost C++ libraries, and has released several libraries and utilities of his own.
show more

Rating details

265 ratings
4.15 out of 5 stars
5 39% (104)
4 41% (108)
3 16% (43)
2 4% (10)
1 0% (0)
Book ratings by Goodreads
Goodreads is the world's largest site for readers with over 50 million reviews. We're featuring millions of their reader ratings on our book pages to help you find your new favourite book. Close X