3 writes to m_currentAdders
System (3)
sys\system\collections\concurrent\BlockingCollection.cs (3)
476
if (Interlocked.CompareExchange(ref
m_currentAdders
, observedAdders + 1, observedAdders) == observedAdders)
531
Interlocked.Decrement(ref
m_currentAdders
);
1509
if (Interlocked.CompareExchange(ref
m_currentAdders
, observedAdders | COMPLETE_ADDING_ON_MASK, observedAdders) == observedAdders)
7 references to m_currentAdders
System (7)
sys\system\collections\concurrent\BlockingCollection.cs (7)
93
return (
m_currentAdders
== COMPLETE_ADDING_ON_MASK);
468
int observedAdders =
m_currentAdders
;
473
while (
m_currentAdders
!= COMPLETE_ADDING_ON_MASK) spinner.SpinOnce();
530
Debug.Assert((
m_currentAdders
& ~COMPLETE_ADDING_ON_MASK) > 0);
1500
int observedAdders =
m_currentAdders
;
1505
while (
m_currentAdders
!= COMPLETE_ADDING_ON_MASK) spinner.SpinOnce();
1512
while (
m_currentAdders
!= COMPLETE_ADDING_ON_MASK) spinner.SpinOnce();