3 writes to _threadState
System.Private.CoreLib (3)
System\Threading\Thread.NativeAot.cs (3)
88
currentThread.
_threadState
= (int)(state | ThreadState.Running);
262
return Interlocked.Or(ref
_threadState
, (int)bit);
267
return Interlocked.And(ref
_threadState
, ~(int)bit);
6 references to _threadState
System.Private.CoreLib (6)
System\Threading\Thread.NativeAot.cs (5)
72
Debug.Assert(currentThread.
_threadState
== (int)ThreadState.Unstarted);
108
return ((ThreadState)
_threadState
& (ThreadState.Unstarted | ThreadState.Stopped | ThreadState.Aborted)) == 0;
114
return ((ThreadState)
_threadState
& (ThreadState.Stopped | ThreadState.Aborted)) != 0;
252
public ThreadState ThreadState => ((ThreadState)
_threadState
& PublicThreadStateMask);
257
return (
_threadState
& (int)bit) != 0;
System\Threading\Thread.NativeAot.Multithreading.cs (1)
132
if ((thread.
_threadState
& (int)(ThreadState.Stopped | ThreadState.Aborted)) == 0)