System.Diagnostics.ThreadWaitReason Enumeration

Specifies the reason a thread is waiting.

Syntax

public enum ThreadWaitReason

Remarks

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

Members

Member NameDescription
EventPairHigh

The thread is waiting for event pair high.

EventPairLow

The thread is waiting for event pair low.

ExecutionDelay

Thread execution is delayed.

Executive

The thread is waiting for the scheduler.

FreePage

The thread is waiting for a free virtual memory page.

LpcReceive

The thread is waiting for a local procedure call to arrive.

LpcReply

The thread is waiting for reply to a local procedure call to arrive.

PageIn

The thread is waiting for a virtual memory page to arrive in memory.

PageOut

The thread is waiting for a virtual memory page to be written to disk.

Suspended

Thread execution is suspended.

SystemAllocation

The thread is waiting for system allocation.

Unknown

The thread is waiting for an unknown reason.

UserRequest

The thread is waiting for a user request.

VirtualMemory

The thread is waiting for the system to allocate virtual memory.

Requirements

Namespace: System.Diagnostics
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0, 4.0.0.0