3 writes to _threadState
System.Private.CoreLib (3)
System\Threading\Thread.NativeAot.cs (3)
95
currentThread.
_threadState
= (int)(state | ThreadState.Running);
267
return Interlocked.Or(ref
_threadState
, (int)bit);
272
return Interlocked.And(ref
_threadState
, ~(int)bit);
6 references to _threadState
System.Private.CoreLib (6)
System\Threading\Thread.NativeAot.cs (6)
81
Debug.Assert(currentThread.
_threadState
== (int)ThreadState.Unstarted);
115
return ((ThreadState)
_threadState
& (ThreadState.Unstarted | ThreadState.Stopped | ThreadState.Aborted)) == 0;
121
return ((ThreadState)
_threadState
& (ThreadState.Stopped | ThreadState.Aborted)) != 0;
257
public ThreadState ThreadState => ((ThreadState)
_threadState
& PublicThreadStateMask);
262
return (
_threadState
& (int)bit) != 0;
307
if ((thread.
_threadState
& (int)(ThreadState.Stopped | ThreadState.Aborted)) == 0)