Export (0) Print
Expand All
Expand Minimize

ThreadWaitReason Enumeration

Specifies the reason a thread is waiting.

[Visual Basic]
<Serializable>
Public Enum ThreadWaitReason
[C#]
[Serializable]
public enum ThreadWaitReason
[C++]
[Serializable]
__value public enum ThreadWaitReason
[JScript]
public
   Serializable
enum ThreadWaitReason

Remarks

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

Members

Member name Description
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

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System (in System.dll)

See Also

System.Diagnostics Namespace | ThreadState

Show:
© 2014 Microsoft