10 references to Background
System.Private.CoreLib (10)
System\Threading\Thread.NativeAot.cs (10)
99
state |= ThreadState.
Background
;
143
return GetThreadStateBit(ThreadState.
Background
);
155
int threadState = SetThreadStateBit(ThreadState.
Background
);
157
if ((threadState & ((int)ThreadState.
Background
| (int)ThreadState.Unstarted | (int)ThreadState.Stopped)) == 0)
164
int threadState = ClearThreadStateBit(ThreadState.
Background
);
166
if ((threadState & ((int)ThreadState.
Background
| (int)ThreadState.Unstarted | (int)ThreadState.Stopped)) == (int)ThreadState.
Background
)
432
if ((state & (int)ThreadState.
Background
) == 0)
462
int state = thread.ClearThreadStateBit(ThreadState.
Background
);
463
if ((state & (int)ThreadState.
Background
) == 0)