2 writes to _maxWaiters
Microsoft.ML.Core (2)
Utilities\MinWaiter.cs (2)
59_maxWaiters = waiters; 104if (--_maxWaiters > 0)
9 references to _maxWaiters
Microsoft.ML.Core (9)
Utilities\MinWaiter.cs (9)
78Contracts.Check(_maxWaiters > 0, "All waiters have been retired, Wait should not be called at this point"); 80Contracts.Assert(_waiters.Count < _maxWaiters); 85Contracts.Assert(_waiters.Count < _maxWaiters); 102Contracts.Check(_maxWaiters > 0, "Attempt to retire more waiters than were initially declared"); 103Contracts.Assert(_waiters.Count < _maxWaiters); 106Contracts.Assert(_maxWaiters == 0 || _waiters.Count < _maxWaiters); 107return _maxWaiters; 113if (_waiters.Count == _maxWaiters)