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.
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:
Chapter 1. Concurrency: An Overview
Chapter 2. Async Basics
Chapter 3. Parallel Basics
Chapter 4. Dataflow Basics
Chapter 5. Rx Basics
Chapter 6. Testing
Chapter 7. Interop
Chapter 8. Collections
Chapter 9. Cancellation
Chapter 10. Functional-Friendly OOP
Chapter 11. Synchronization
Chapter 12. Scheduling
Chapter 13. Scenarios