System.Diagnostics (system.dll) | enum |
This enumeration represents
the different thread states
as recognized by the operating system. They mostly correspond to the
states defined by System.Threading.ThreadState,
but also include Transition for when a thread is
waiting on something other than the CPU (it might be waiting on disk
I/O, for example).
public enum ThreadState {
Initialized = 0,
Ready = 1,
Running = 2,
Standby = 3,
Terminated = 4,
Wait = 5,
Transition = 6,
Unknown = 7
}
Hierarchy
System.Object
System.ValueType
System.Enum(System.IComparable, System.IFormattable,
System.IConvertible)
ThreadState
Returned By
ProcessThread.ThreadState
|