Files
2026-06-04 11:42:34 +02:00

36 lines
1.7 KiB
C#

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