The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
ThreadState Enumeration
.NET Framework 1.1
Specifies the current execution state of the thread.
[Visual Basic] <Serializable> Public Enum ThreadState [C#] [Serializable] public enum ThreadState [C++] [Serializable] __value public enum ThreadState [JScript] public Serializable enum ThreadState
Remarks
Members
| Member name | Description |
|---|---|
| Initialized | A state that indicates the thread has been initialized, but has not yet started. |
| Ready | A state that indicates the thread is waiting to use a processor because no processor is free. The thread is prepared to run on the next available processor. |
| Running | A state that indicates the thread is currently using a processor. |
| Standby | A state that indicates the thread is about to use a processor. Only one thread can be in this state at a time. |
| Terminated | A state that indicates the thread has finished executing and has exited. |
| Transition | A state that indicates the thread is waiting for a resource, other than the processor, before it can execute. For example, it might be waiting for its execution stack to be paged in from disk. |
| Unknown | The state of the thread is unknown. |
| Wait | A state that indicates the thread is not ready to use the processor because it is waiting for a peripheral operation to complete or a resource to become free. When the thread is ready, it will be rescheduled. |
Requirements
Namespace: System.Diagnostics
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: System (in System.dll)
See Also
Show: