2002 | 360 pages
If you need high performance, or a rich user experience, you should consider multithreading. With .NET you can develop stable and robust multithreaded applications with minimal effort. .NET Multithreading teaches the basics in an understandable and practical way. It then focuses on .NET's mechanisms for multithreading and shows how easy it can be to develop applications with them. The book covers several design approaches such as one-thread-one-class, the asynchronous design pattern, and using queues as buffers between threads. It explains best practices and how to avoid common multithreading pitfalls such as deadlock and race conditions.
This book is written for intermediate .NET developers who know C# or VB .NET, but are not assumed to have a background in multithreading. It is rich in examples that will help you understand the subject and produce multithreaded applications that have the power of C++ while keeping the ease and reliability of .NET.
- Creating multithreaded System Services
- Designing for high performance
- Using Asynchronous Delegates
- How to control thread execution
- Handling and logging errors
- How to protect data from corruption
- How to coordinate threads
- How to use ThreadPools effectively
ABOUT THE AUTHOR...
Alan Dennis is a Microsoft-certified solution developer who has developed numerous multithreaded applications using C++, Java, and .NET. He lives in Grapevine, Texas.
Chapters 1 and 9 of .NET Multithreading are available here in Portable Document Format (PDF); you need Adobe's free Acrobat Reader software to view them. You may download Acrobat Reader here.
"I recommend .NET Multithreading, as it offers substantial details on the framework. It focuses on .NET from a multithreaded perspective, not the other way around. Normally such information tends to change rapidly over time, but this book will probably remain a good reference for future versions of the framework as well as for readers just gaining experience with .NET."
-- Distributed Systems Online magazine of IEEE Computer Society
"...an authoritative and learner friendly guide to performing multithreading applications
with C# .NET or VB.NET...a first-rate resource for anyone looking to improve their software's
performance through multithreading, and without having to invest too much time and energy in
learning the mechanics of doing so."
-- The Bookwatch (Midwest Book Reviews)
"provides the reader with an understanding of the many varied concepts and techniques for
developing multithreaded applications in .NET. Not only does the author present the implementation
details of each technique, but also some guidelines on when to use the various options. This book is
both a great tutorial and a great ongoing reference on for this topic. This title is near the top of
my .NET recommendations."
"In .NET, multithreading is deceivingly easy to implement. But implementing stable and robust multithreading, well that's a different story. This book can get you on the right track. It covers several design approaches such as one-thread-one-class, asynchronous patterns, and using the Thread Pool. It explains best practices and how to avoid common pitfalls. The code samples are bilingual (VB.NET and C#). RATING: RECOMMENDED"
-- Montgomery Area .NET Developer Group (MADEV)
"...a thorough discussion of the salient issues involved...a good mix of practical
with theoretical information. Some authors have a hard time 'getting down to brass tacks,'
but Dennis doesn't have that problem...The namespace classes are the 'meat and potatoes'.
From here on out we get the recipes to turn these ingredients into a feast."
-- Denver Microsoft Visual Studio .NET User Group
"one of the most concise clearly written computer books I have read...an enjoyable read."
--Milwaukee Visual Studio Developers Group
"!!!!! A MUST READ"
-- Today's Books
Source code files for .NET Multithreading are contained in a single ZIP file.
Free unzip programs are available at www.download.com.
Download the source code. (multithreading source zip -- 3.16 Mb)