February 2003
Intermediate to advanced
752 pages
16h 35m
English
Microsoft .NET brings multithreading to the masses with the new set of classes in the System.Threading namespace. These classes wrap the intricacies of the Microsoft Windows API and make creating new threads as easy as declaring an object and invoking a method. But even though it’s easy to create threads with the .NET class library, it’s not as easy to manage them properly (and safely). To use threading successfully, developers need to adopt a different frame of mind and a few new habits. Without these best practices, a multithreaded application can appear to work correctly in the development environment but develop subtle and difficult-to-diagnose errors when deployed in the real world. These ...