ThreadWaitReason Enum
Definition
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
Fields
EventPairHigh | 7 | The thread is waiting for event pair high. |
EventPairLow | 8 | The thread is waiting for event pair low. |
ExecutionDelay | 4 | Thread execution is delayed. |
Executive | 0 | The thread is waiting for the scheduler. |
FreePage | 1 | The thread is waiting for a free virtual memory page. |
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. |
PageIn | 2 | The thread is waiting for a virtual memory page to arrive in memory. |
PageOut | 12 | The thread is waiting for a virtual memory page to be written to disk. |
Suspended | 5 | Thread execution is suspended. |
SystemAllocation | 3 | The thread is waiting for system allocation. |
Unknown | 13 | The thread is waiting for an unknown reason. |
UserRequest | 6 | The thread is waiting for a user request. |
VirtualMemory | 11 | The thread is waiting for the system to allocate virtual memory. |
Remarks
The thread wait reason is only valid when the ThreadState is Wait.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om