using System;
using System.Runtime.InteropServices;
namespace System.Threading
{
/// Specifies the execution states of a .
/// 1
// Token: 0x02000624 RID: 1572
[Flags]
[ComVisible(true)]
[Serializable]
public enum ThreadState
{
/// The thread has been started, it is not blocked, and there is no pending .
// Token: 0x04001749 RID: 5961
Running = 0,
/// The thread is being requested to stop. This is for internal use only.
// Token: 0x0400174A RID: 5962
StopRequested = 1,
/// The thread is being requested to suspend.
// Token: 0x0400174B RID: 5963
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: 0x0400174C RID: 5964
Background = 4,
/// The method has not been invoked on the thread.
// Token: 0x0400174D RID: 5965
Unstarted = 8,
/// The thread has stopped.
// Token: 0x0400174E RID: 5966
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: 0x0400174F RID: 5967
WaitSleepJoin = 32,
/// The thread has been suspended.
// Token: 0x04001750 RID: 5968
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: 0x04001751 RID: 5969
AbortRequested = 128,
/// The thread state includes and the thread is now dead, but its state has not yet changed to .
// Token: 0x04001752 RID: 5970
Aborted = 256
}
}