Thread States
Figure 7-4, which is taken from Custer's Inside Windows NT, page 210 (also see Solomon and Russinovich's updated version of this book), shows how the executive manages threads and shows the possible thread states. This figure also shows the effect of program actions. Such state diagrams are common to all multitasking OSs and help clarify how a thread is scheduled for execution and how a thread moves from one state to another.
Figure 7-4. Thread States and Transitions (From Inside Windows NT, Copyright © 1993, by Helen Custer. Copyright Microsoft Press. Reproduced by permission of Microsoft Press. All rights reserved.)
Chapter 8. I/O operations will also wait for completion of a disk or other data transfer, and numerous other functions can cause waiting. It is common to say that a thread is blocked, or sleeping, when in the wait state.