
上QQ阅读APP看书,第一时间看更新
Chapter 3. Using a Thread Pool
In this chapter, we will describe the common techniques that are used for working with shared resources from multiple threads. You will learn the following recipes:
- Invoking a delegate on a thread pool
- Posting an asynchronous operation on a thread pool
- A thread pool and the degree of parallelism
- Implementing a cancellation option
- Using a wait handle and timeout with a thread pool
- Using a timer
- Using the
BackgroundWorker
component