ThreadWaitReason Enum

Definition

Specifies the reason a thread is waiting.

public enum class ThreadWaitReason
public enum ThreadWaitReason
type ThreadWaitReason = 
Public Enum ThreadWaitReason
Inheritance
ThreadWaitReason

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