Related Titles
- Full Description
-
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. Youll be introduced to .NETs 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 youll 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
-
Table of Contents
- Introducing Parallel Programming
- Task Programming
- Sharing Data
- Coordinating Tasks
- Parallel Loops
- Parallel LINQ
- Testing and Debugging
- Common Parallel Algorithms
- Source Code/Downloads
- Errata
-
If you think that you've found an error in this book, please let us know about it. You will find any confirmed erratum below, so you can check if your concern has already been addressed.
On page 42:
When executing listing 2-22, the UnobservedTaskException handler is never utilized. Nothing is written to the console regarding the exceptions.
On page 43:
Two problems with table 2-8 (one only typographic)
1. (Typographic only) Description for Canceled includes a quoting error.
2. There is a duplicate entry for the "WaitingForChildrenToComplete" enum value.
On page 45:
In the example code, the creation of task 1 incorrectly indexes the return result of the intended task. Shouldn't it read:
tasks[1] = Task.Factory.StartNew(() => {
...
return tasks[0].Result + 100;
}






