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)
83lock (_waiters) 91_waiters.Add(ev); 104lock (_waiters) 110while (_waiters.Count > 0 && _waiters.Top.Line <= _currCleared) 111_waiters.Pop().Event.Set(); 122lock (_waiters) 125while (_waiters.Count > 0) 126_waiters.Pop().Event.Set(); 139lock (_waiters) 146while (_waiters.Count > 0) 147_waiters.Pop().Event.Set();