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)
1063if ((threadData.State & (Contracts.ThreadState.Stopped | Contracts.ThreadState.Unstarted)) == 0) 1113*pResult = (threadData.State & Contracts.ThreadState.Stopped) != 0 ? Interop.BOOL.TRUE : Interop.BOOL.FALSE; 1166if ((threadData.State & (Contracts.ThreadState.Stopped | Contracts.ThreadState.Unstarted | Contracts.ThreadState.Detached)) != 0) 1336Contracts.ThreadState threadState = threadData.State; 1339if ((threadState & Contracts.ThreadState.Background) != 0) 1342if ((threadState & Contracts.ThreadState.Unstarted) != 0) 1345if ((threadState & Contracts.ThreadState.Stopped) != 0) 1348if ((threadState & Contracts.ThreadState.WaitSleepJoin) != 0) 1351if ((threadState & Contracts.ThreadState.ThreadPoolWorker) != 0) 4959Contracts.ThreadState threadState = _target.Contracts.Thread.GetThreadData(vmThread).State; 4960*pResult = (threadState & (Contracts.ThreadState.DebugSyncSuspended | Contracts.ThreadState.Hijacked)) != 0