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