9 references to LOCK_ID_DISABLE_MASK
mscorlib (9)
system\threading\SpinLock.cs (9)
98
private const int WAITERS_MASK = ~(
LOCK_ID_DISABLE_MASK
| 1); //0111 1111 1111 1111 1111 1111 1111 1110
128
m_owner |=
LOCK_ID_DISABLE_MASK
;
169
(observedOwner & ID_DISABLED_AND_ANONYMOUS_OWNED) !=
LOCK_ID_DISABLE_MASK
|| //thread tracking is enabled or the lock is already acquired
269
(observedOwner & ID_DISABLED_AND_ANONYMOUS_OWNED) !=
LOCK_ID_DISABLE_MASK
|| //thread tracking is enabled or the lock is already acquired
587
if ((m_owner &
LOCK_ID_DISABLE_MASK
) == 0)
620
if ((m_owner &
LOCK_ID_DISABLE_MASK
) != 0 && !useMemoryBarrier)
642
bool threadTrackingEnabled = (m_owner &
LOCK_ID_DISABLE_MASK
) == 0;
709
return ((m_owner & (~
LOCK_ID_DISABLE_MASK
)) == Thread.CurrentThread.ManagedThreadId);
717
get { return (m_owner &
LOCK_ID_DISABLE_MASK
) == 0; }