ThreadWaitReason Enum
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the reason a thread is waiting.
public enum class ThreadWaitReason
public enum ThreadWaitReason
type ThreadWaitReason =
Public Enum ThreadWaitReason
- Inheritance
Name | Value | Description |
---|---|---|
Executive | 0 | The thread is waiting for the scheduler. |
FreePage | 1 | The thread is waiting for a free virtual memory page. |
PageIn | 2 | The thread is waiting for a virtual memory page to arrive in memory. |
SystemAllocation | 3 | The thread is waiting for system allocation. |
ExecutionDelay | 4 | Thread execution is delayed. |
Suspended | 5 | Thread execution is suspended. |
UserRequest | 6 | The thread is waiting for a user request. |
EventPairHigh | 7 | The thread is waiting for event pair high. |
EventPairLow | 8 | The thread is waiting for event pair low. |
LpcReceive | 9 | The thread is waiting for a local procedure call to arrive. |
LpcReply | 10 | The thread is waiting for reply to a local procedure call to arrive. |
VirtualMemory | 11 | The thread is waiting for the system to allocate virtual memory. |
PageOut | 12 | The thread is waiting for a virtual memory page to be written to disk. |
Unknown | 13 | The thread is waiting for an unknown reason. |
The thread wait reason is only valid when the ThreadState is Wait.
Продукт | Версії |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
Відгук про .NET
.NET – це проект із відкритим кодом. Виберіть посилання, щоб надати відгук: