37 references to ThreadState
Microsoft.Diagnostics.DataContractReader.Abstractions (1)
Contracts\IThread.cs (1)
59ThreadState State,
Microsoft.Diagnostics.DataContractReader.Contracts (18)
Contracts\Thread_1.cs (18)
87private static Contracts.ThreadState GetThreadState(ThreadState_1 state) 89Contracts.ThreadState result = Contracts.ThreadState.Unknown; 91result |= Contracts.ThreadState.SuspensionTrapped; 93result |= Contracts.ThreadState.GCSuspendRedirected; 95result |= Contracts.ThreadState.DebugSuspendPending; 97result |= Contracts.ThreadState.Hijacked; 99result |= Contracts.ThreadState.Background; 101result |= Contracts.ThreadState.Unstarted; 103result |= Contracts.ThreadState.CoInitialized; 105result |= Contracts.ThreadState.InSTA; 107result |= Contracts.ThreadState.InMTA; 109result |= Contracts.ThreadState.Stopped; 111result |= Contracts.ThreadState.DebugSyncSuspended; 113result |= Contracts.ThreadState.DebugWillSync; 115result |= Contracts.ThreadState.ThreadPoolWorker; 117result |= Contracts.ThreadState.WaitSleepJoin; 119result |= Contracts.ThreadState.Detached;
Microsoft.Diagnostics.DataContractReader.Legacy (18)
ClrDataTask.cs (1)
72if (threadData.State.HasFlag(Contracts.ThreadState.Unstarted))
Dbi\DacDbiImpl.cs (15)
982if ((threadData.State & (Contracts.ThreadState.Stopped | Contracts.ThreadState.Unstarted)) == 0) 1031*pResult = (threadData.State & Contracts.ThreadState.Stopped) != 0 ? Interop.BOOL.TRUE : Interop.BOOL.FALSE; 1082if ((threadData.State & (Contracts.ThreadState.Stopped | Contracts.ThreadState.Unstarted | Contracts.ThreadState.Detached)) != 0) 1247Contracts.ThreadState threadState = threadData.State; 1250if ((threadState & Contracts.ThreadState.Background) != 0) 1253if ((threadState & Contracts.ThreadState.Unstarted) != 0) 1256if ((threadState & Contracts.ThreadState.Stopped) != 0) 1259if ((threadState & Contracts.ThreadState.WaitSleepJoin) != 0) 1262if ((threadState & Contracts.ThreadState.ThreadPoolWorker) != 0) 4758Contracts.ThreadState threadState = _target.Contracts.Thread.GetThreadData(vmThread).State; 4759*pResult = (threadState & (Contracts.ThreadState.DebugSyncSuspended | Contracts.ThreadState.Hijacked)) != 0
SOSDacImpl.cs (2)
4353foreach (Contracts.ThreadState stateFlag in Enum.GetValues<Contracts.ThreadState>())