2 writes to _waiters
Microsoft.ML.Core (2)
Utilities\OrderedWaiter.cs (2)
55
_waiters
= new Heap<WaitStats>((s1, s2) => s1.Line > s2.Line);
66
_waiters
= new Heap<WaitStats>((s1, s2) => s1.Line > s2.Line);
12 references to _waiters
Microsoft.ML.Core (12)
Utilities\OrderedWaiter.cs (12)
83
lock (
_waiters
)
91
_waiters
.Add(ev);
104
lock (
_waiters
)
110
while (
_waiters
.Count > 0 &&
_waiters
.Top.Line <= _currCleared)
111
_waiters
.Pop().Event.Set();
122
lock (
_waiters
)
125
while (
_waiters
.Count > 0)
126
_waiters
.Pop().Event.Set();
139
lock (
_waiters
)
146
while (
_waiters
.Count > 0)
147
_waiters
.Pop().Event.Set();