1 //------------------------------------------------------------------------------
2 // <copyright file="ThreadWaitReason.cs" company="Microsoft">
3 // Copyright (c) Microsoft Corporation. All rights reserved.
5 //------------------------------------------------------------------------------
7 namespace System
.Diagnostics
{
8 using System
.Threading
;
10 using System
.Diagnostics
;
12 /// Specifies the reason a thread is waiting.
14 public enum ThreadWaitReason
{
17 /// Thread is waiting for the scheduler.
22 /// Thread is waiting for a free virtual memory page.
27 /// Thread is waiting for a virtual memory page to arrive in memory.
32 /// Thread is waiting for a system allocation.
37 /// Thread execution is delayed.
42 /// Thread execution is suspended.
47 /// Thread is waiting for a user request.
52 /// Thread is waiting for event pair high.
57 /// Thread is waiting for event pair low.
62 /// Thread is waiting for a local procedure call to arrive.
67 /// Thread is waiting for reply to a local procedure call to arrive.
72 /// Thread is waiting for virtual memory.
77 /// Thread is waiting for a virtual memory page to be written to disk.
82 /// Thread is waiting for an unknown reason.