Chapter 16. Multithreading Patterns
Chapter 15 focused on managing threads and synchronizing the data that the threads share. As developers write more multithreaded code, a common set of scenarios and programming patterns for handling those ...
Asynchronous Results Pattern
Multithreaded programming includes the following complexities.
Monitoring the thread state for completion. This includes determining when a thread has completed, preferably not by polling the thread's state or by bloc...
Background Worker Pattern
Frequently with multithreaded operations, you not only want to be notified when the thread completes, but you also want the method to provide an update on the status of the operation. Often, users want to be able to cance...
Windows Forms
One more important threading concept relates to user interface development using the System.Windows.Forms namespace. The Microsoft Windows suite of operating systems uses a single-threaded, message-processing-based user interface. ...
Summary
This chapter used a step-by-step approach to setting up both the asynchronous results pattern and the background worker pattern. The asynchronous results pattern provides support for calling any method asynchronously, even a method written...
С 2009 года мы стали переводить структура сайта на различные языки. Сайт теперь будет содержать книги не только на английском языке, но также и на других европейских языках, в том числе и на Русском языке.