Concurrency in C# Cookbook: Asynchronous, Parallel, and Multithreaded Programming
<div><p>If you're one of the many developers uncertain about concurrent and multithreaded development, this practical cookbook will change your mind. With more than 75 code-rich recipes, author Stephen Cleary demonstrates parallel processing and asynchronous programming techniques, using libraries and language features in .NET 4.5 and C# 5.0.</p><p>Concurrency is becoming more common in responsive and scalable application development, but it€s been 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 the solution works, you get recipes for using:</p><ul><li><i>async</i> and <i>await</i> for asynchronous operations</li><li>Parallel programming with the Task Parallel Library</li><li>The TPL Dataflow library for creating dataflow pipelines</li><li>Capabilities that Reactive Extensions build on top of LINQ</li><li>Unit testing with concurrent code</li><li>Interop scenarios for combining concurrent approaches</li><li>Immutable, threadsafe, and producer/consumer collections</li><li>Cancellation support in your concurrent code</li><li>Asynchronous-friendly Object-Oriented Programming</li><li>Thread synchronization for accessing data</li></ul></div>