Parallel programming has been revolutionised in .NET 4, providing, for the first time, a standardised and simplified method for creating robust, scalable and reliable multi-threaded applications. The Parallel programming features of .NET 4 allow the programmer to create applications that harness the power of multi-core and multi-processor machines. Simpler to use and more powerful than “classic” .NET threads, parallel programming allows the developer to remain focused on the work an application needs to perform.
In Pro .NET 4 Parallel Programming in C#, Adam Freeman presents expert advice that guides you through the process of creating concurrent C# applications from the ground up. You’ll be introduced to .NET’s parallel programming features, both old and new, discover the key functionality that has been introduced in .NET 4, and learn how you can take advantage of the power of multi-core and multi-processor machines with ease.
Pro .NET 4 Parallel Programming in C# is a reliable companion that will remain with you as you explore the parallel programming universe, elegantly and comprehensively explaining all aspects of parallel programming, guiding you around potential pitfalls and providing clear-cut solutions to the common problems that you will encounter.
What you’ll learn
- Develop scalable and robust parallel applications in C#
- Design, test and use parallel algorithms and data structures
- Understand and implement common parallel design patterns
- Avoid common anti-patterns and problems
- Use Visual Studio to verify and debug parallel applications
Who this book is for
This book is for .NET developers encountering parallel or multi-threaded programming for the first time. No prior knowledge of multi-threaded programming is required, but the reader should be familiar with basic programming in C# using Visual Studio.
Table of Contents
- Introducing Parallel Programming
- Task Programming
- Sharing Data
- Coordinating Tasks
- Parallel Loops
- Parallel LINQ
- Testing and Debugging
- Common Parallel Algorithms