Редагувати

Поділитися через


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

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.

Remarks

The thread wait reason is only valid when the ThreadState is Wait.

Applies to

See also