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