using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Threading { /// Specifies the execution states of a . // Token: 0x02000342 RID: 834 [Token(Token = "0x2000342")] [Flags] [ComVisible(true)] [Serializable] public enum ThreadState { /// The thread has been started and not yet stopped. // Token: 0x0400110C RID: 4364 [Token(Token = "0x400110C")] Running = 0, /// The thread is being requested to stop. This is for internal use only. // Token: 0x0400110D RID: 4365 [Token(Token = "0x400110D")] StopRequested = 1, /// The thread is being requested to suspend. // Token: 0x0400110E RID: 4366 [Token(Token = "0x400110E")] SuspendRequested = 2, /// The thread is being executed as a background thread, as opposed to a foreground thread. This state is controlled by setting the property. // Token: 0x0400110F RID: 4367 [Token(Token = "0x400110F")] Background = 4, /// The method has not been invoked on the thread. // Token: 0x04001110 RID: 4368 [Token(Token = "0x4001110")] Unstarted = 8, /// The thread has stopped. // Token: 0x04001111 RID: 4369 [Token(Token = "0x4001111")] Stopped = 16, /// The thread is blocked. This could be the result of calling or , of requesting a lock - for example, by calling or - or of waiting on a thread synchronization object such as . // Token: 0x04001112 RID: 4370 [Token(Token = "0x4001112")] WaitSleepJoin = 32, /// The thread has been suspended. // Token: 0x04001113 RID: 4371 [Token(Token = "0x4001113")] Suspended = 64, /// The method has been invoked on the thread, but the thread has not yet received the pending that will attempt to terminate it. // Token: 0x04001114 RID: 4372 [Token(Token = "0x4001114")] AbortRequested = 128, /// The thread state includes and the thread is now dead, but its state has not yet changed to . // Token: 0x04001115 RID: 4373 [Token(Token = "0x4001115")] Aborted = 256 } }