using System; namespace System.Diagnostics { /// Specifies the current execution state of the thread. /// 1 // Token: 0x020000F9 RID: 249 public enum ThreadState { /// A state that indicates the thread has been initialized, but has not yet started. // Token: 0x040002CD RID: 717 Initialized, /// 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. // Token: 0x040002CE RID: 718 Ready, /// A state that indicates the thread is currently using a processor. // Token: 0x040002CF RID: 719 Running, /// A state that indicates the thread is about to use a processor. Only one thread can be in this state at a time. // Token: 0x040002D0 RID: 720 Standby, /// A state that indicates the thread has finished executing and has exited. // Token: 0x040002D1 RID: 721 Terminated, /// 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. // Token: 0x040002D2 RID: 722 Transition = 6, /// The state of the thread is unknown. // Token: 0x040002D3 RID: 723 Unknown, /// 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. // Token: 0x040002D4 RID: 724 Wait = 5 } }