14 references to Unstarted
System.Private.CoreLib (14)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Thread.cs (3)
259
if ((ThreadState & ThreadState.
Unstarted
) != 0)
283
if ((ThreadState & ThreadState.
Unstarted
) == 0)
418
Debug.Assert(ThreadState.HasFlag(ThreadState.
Unstarted
) || this == CurrentThread);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Thread.Unix.cs (1)
47
Debug.Assert((ThreadState & ThreadState.
Unstarted
) == 0 || (millisecondsTimeout == 0));
System\Threading\Thread.NativeAot.cs (10)
31
private volatile int _threadState = (int)ThreadState.
Unstarted
;
92
Debug.Assert(currentThread._threadState == (int)ThreadState.
Unstarted
);
119
return !GetThreadStateBit(ThreadState.
Unstarted
);
126
return ((ThreadState)_threadState & (ThreadState.
Unstarted
| ThreadState.Stopped | ThreadState.Aborted)) == 0;
157
if ((threadState & ((int)ThreadState.Background | (int)ThreadState.
Unstarted
| (int)ThreadState.Stopped)) == 0)
166
if ((threadState & ((int)ThreadState.Background | (int)ThreadState.
Unstarted
| (int)ThreadState.Stopped)) == (int)ThreadState.Background)
360
if (!GetThreadStateBit(ThreadState.
Unstarted
))
379
while (GetThreadStateBit(ThreadState.
Unstarted
) && !JoinInternal(0))
395
if (GetThreadStateBit(ThreadState.
Unstarted
))
431
int state = thread.ClearThreadStateBit(ThreadState.
Unstarted
);