This documentation is archived and is not being maintained.
ThreadWaitReason Enumeration
Visual Studio 2008
Specifies the reason a thread is waiting.
Assembly: System (in System.dll)
| Member name | Description | |
|---|---|---|
| Executive | The thread is waiting for the scheduler. | |
| FreePage | The thread is waiting for a free virtual memory page. | |
| PageIn | The thread is waiting for a virtual memory page to arrive in memory. | |
| SystemAllocation | The thread is waiting for system allocation. | |
| ExecutionDelay | Thread execution is delayed. | |
| Suspended | Thread execution is suspended. | |
| UserRequest | The thread is waiting for a user request. | |
| EventPairHigh | The thread is waiting for event pair high. | |
| EventPairLow | The thread is waiting for event pair low. | |
| 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. | |
| VirtualMemory | The thread is waiting for the system to allocate virtual memory. | |
| PageOut | The thread is waiting for a virtual memory page to be written to disk. | |
| Unknown | The thread is waiting for an unknown reason. |
The thread wait reason is only valid when the ThreadState is Wait.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: