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