using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Threading
{
/// Specifies the execution states of a .
// Token: 0x0200035C RID: 860
[Token(Token = "0x200035C")]
[Flags]
[ComVisible(true)]
[Serializable]
public enum ThreadState
{
/// The thread has been started and not yet stopped.
// Token: 0x040011C7 RID: 4551
[Token(Token = "0x40011C7")]
Running = 0,
/// The thread is being requested to stop. This is for internal use only.
// Token: 0x040011C8 RID: 4552
[Token(Token = "0x40011C8")]
StopRequested = 1,
/// The thread is being requested to suspend.
// Token: 0x040011C9 RID: 4553
[Token(Token = "0x40011C9")]
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: 0x040011CA RID: 4554
[Token(Token = "0x40011CA")]
Background = 4,
/// The method has not been invoked on the thread.
// Token: 0x040011CB RID: 4555
[Token(Token = "0x40011CB")]
Unstarted = 8,
/// The thread has stopped.
// Token: 0x040011CC RID: 4556
[Token(Token = "0x40011CC")]
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: 0x040011CD RID: 4557
[Token(Token = "0x40011CD")]
WaitSleepJoin = 32,
/// The thread has been suspended.
// Token: 0x040011CE RID: 4558
[Token(Token = "0x40011CE")]
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: 0x040011CF RID: 4559
[Token(Token = "0x40011CF")]
AbortRequested = 128,
/// The thread state includes and the thread is now dead, but its state has not yet changed to .
// Token: 0x040011D0 RID: 4560
[Token(Token = "0x40011D0")]
Aborted = 256
}
}