November 2012
Intermediate to advanced
896 pages
32h 31m
English
In this chapter:
Introducing the CLR’s Thread Pool
Performing a Simple Compute-Bound Operation
Cooperative Cancellation and Timeout
Parallel’s Static For, ForEach, and Invoke Methods
Parallel Language Integrated Query
Performing a Periodic Compute-Bound Operation
How the Thread Pool Manages Its Threads
In this chapter, I’ll talk about the various ways that you can perform operations asynchronously. When performing an asynchronous compute-bound operation, you execute it using other threads. Here are some examples of compute-bound operations: compiling code, spell checking, grammar checking, spreadsheet recalculations, transcoding audio or video data, and producing a thumbnail of an ...
Read now
Unlock full access