3 writes to _threadState
System.Private.CoreLib (3)
System\Threading\Thread.NativeAot.cs (3)
106
currentThread.
_threadState
= (int)(state | ThreadState.Running);
278
return Interlocked.Or(ref
_threadState
, (int)bit);
283
return Interlocked.And(ref
_threadState
, ~(int)bit);
6 references to _threadState
System.Private.CoreLib (6)
System\Threading\Thread.NativeAot.cs (6)
92
Debug.Assert(currentThread.
_threadState
== (int)ThreadState.Unstarted);
126
return ((ThreadState)
_threadState
& (ThreadState.Unstarted | ThreadState.Stopped | ThreadState.Aborted)) == 0;
132
return ((ThreadState)
_threadState
& (ThreadState.Stopped | ThreadState.Aborted)) != 0;
268
public ThreadState ThreadState => ((ThreadState)
_threadState
& PublicThreadStateMask);
273
return (
_threadState
& (int)bit) != 0;
457
if ((thread.
_threadState
& (int)(ThreadState.Stopped | ThreadState.Aborted)) == 0)