O'Reilly logo

Concurrent Programming on Windows by Joe Duffy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

4 Advanced Threads

THE PREVIOUS CHAPTER reviewed the basics of Windows and CLR threads. Several other interesting, but less basic, aspects were mentioned only in passing or deferred altogether. This chapter presents some detailed parts of threads, including bits of interesting state comprising them (such as user-mode stacks), how the OS schedules threads, ways that you can control their execution directly, and more. All of this information will come in handy sometime and has been put in a separate chapter to minimize distracting from the fundamental topics needed for concurrent programming.

Thread State

In order to logically represent some in-progress execution, each thread has a large amount of other interesting state associated with ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required