35 references to ThreadState
Microsoft.Diagnostics.DataContractReader.Abstractions (1)
Contracts\IThread.cs (1)
59ThreadState State,
Microsoft.Diagnostics.DataContractReader.Contracts (18)
Contracts\Thread_1.cs (18)
92private static Contracts.ThreadState GetThreadState(ThreadState_1 state) 94Contracts.ThreadState result = Contracts.ThreadState.Unknown; 96result |= Contracts.ThreadState.SuspensionTrapped; 98result |= Contracts.ThreadState.GCSuspendRedirected; 100result |= Contracts.ThreadState.DebugSuspendPending; 102result |= Contracts.ThreadState.Hijacked; 104result |= Contracts.ThreadState.Background; 106result |= Contracts.ThreadState.Unstarted; 108result |= Contracts.ThreadState.CoInitialized; 110result |= Contracts.ThreadState.InSTA; 112result |= Contracts.ThreadState.InMTA; 114result |= Contracts.ThreadState.Stopped; 116result |= Contracts.ThreadState.DebugSyncSuspended; 118result |= Contracts.ThreadState.DebugWillSync; 120result |= Contracts.ThreadState.ThreadPoolWorker; 122result |= Contracts.ThreadState.WaitSleepJoin; 124result |= Contracts.ThreadState.Detached;
Microsoft.Diagnostics.DataContractReader.Legacy (16)
ClrDataTask.cs (1)
105if (threadData.State.HasFlag(Contracts.ThreadState.Unstarted))
Dbi\DacDbiImpl.cs (15)
1056if ((threadData.State & (Contracts.ThreadState.Stopped | Contracts.ThreadState.Unstarted)) == 0) 1106*pResult = (threadData.State & Contracts.ThreadState.Stopped) != 0 ? Interop.BOOL.TRUE : Interop.BOOL.FALSE; 1159if ((threadData.State & (Contracts.ThreadState.Stopped | Contracts.ThreadState.Unstarted | Contracts.ThreadState.Detached)) != 0) 1329Contracts.ThreadState threadState = threadData.State; 1332if ((threadState & Contracts.ThreadState.Background) != 0) 1335if ((threadState & Contracts.ThreadState.Unstarted) != 0) 1338if ((threadState & Contracts.ThreadState.Stopped) != 0) 1341if ((threadState & Contracts.ThreadState.WaitSleepJoin) != 0) 1344if ((threadState & Contracts.ThreadState.ThreadPoolWorker) != 0) 4916Contracts.ThreadState threadState = _target.Contracts.Thread.GetThreadData(vmThread).State; 4917*pResult = (threadState & (Contracts.ThreadState.DebugSyncSuspended | Contracts.ThreadState.Hijacked)) != 0