Chapter 13. Asynchronous Programming and Multithreading
Topics in This Chapter
Asynchronous Programming: Unlike synchronous programming, in which a task can begin only when the preceding one completes, asynchronous programming permits multiple tasks to be performed simultaneously.
Multithreading: Multiple threads can enhance the performance of an application that can separate its tasks into operations that can run on separate threads. This section describes how a program can implement multithreading, the factors that affect thread scheduling, and when it's useful to create multiple threads.
Thread Synchronization: The use of multiple threads in an application raises several synchronization issues regarding how to create thread-safe code. Several ...