9 references to COMPLETE_ADDING_ON_MASK
System (9)
sys\system\collections\concurrent\BlockingCollection.cs (9)
93return (m_currentAdders == COMPLETE_ADDING_ON_MASK); 469if ((observedAdders & COMPLETE_ADDING_ON_MASK) != 0) 473while (m_currentAdders != COMPLETE_ADDING_ON_MASK) spinner.SpinOnce(); 478Debug.Assert((observedAdders + 1) <= (~COMPLETE_ADDING_ON_MASK), "The number of concurrent adders thread excceeded the maximum limit."); 530Debug.Assert((m_currentAdders & ~COMPLETE_ADDING_ON_MASK) > 0); 1501if ((observedAdders & COMPLETE_ADDING_ON_MASK) != 0) 1505while (m_currentAdders != COMPLETE_ADDING_ON_MASK) spinner.SpinOnce(); 1509if (Interlocked.CompareExchange(ref m_currentAdders, observedAdders | COMPLETE_ADDING_ON_MASK, observedAdders) == observedAdders) 1512while (m_currentAdders != COMPLETE_ADDING_ON_MASK) spinner.SpinOnce();