Name
ThreadState
Synopsis
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
Get C# in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.