3 writes to _threadState
System.Private.CoreLib (3)
System\Threading\Thread.NativeAot.cs (3)
98
currentThread.
_threadState
= (int)(state | ThreadState.Running);
270
return Interlocked.Or(ref
_threadState
, (int)bit);
275
return Interlocked.And(ref
_threadState
, ~(int)bit);
6 references to _threadState
System.Private.CoreLib (6)
System\Threading\Thread.NativeAot.cs (6)
84
Debug.Assert(currentThread.
_threadState
== (int)ThreadState.Unstarted);
118
return ((ThreadState)
_threadState
& (ThreadState.Unstarted | ThreadState.Stopped | ThreadState.Aborted)) == 0;
124
return ((ThreadState)
_threadState
& (ThreadState.Stopped | ThreadState.Aborted)) != 0;
260
public ThreadState ThreadState => ((ThreadState)
_threadState
& PublicThreadStateMask);
265
return (
_threadState
& (int)bit) != 0;
407
if ((thread.
_threadState
& (int)(ThreadState.Stopped | ThreadState.Aborted)) == 0)