4 implementations of Wait
Microsoft.ML.Data (4)
DataView\CacheDataView.cs (4)
618
public bool
Wait
(long pos)
639
public bool
Wait
(long pos) { return _waiter.Wait(pos); }
686
public bool
Wait
(long pos)
712
public bool
Wait
(long pos) => _waiter.Wait(pos);
8 references to Wait
Microsoft.ML.Data (8)
DataView\CacheDataView.cs (8)
558
if (rowIndex < 0 || !_waiter.
Wait
(rowIndex))
786
if (_waiter.
Wait
(++_curr))
853
bool result = _waiter.
Wait
(_perm[_curr]);
994
if (_waiter.
Wait
(_curr))
997
_reserved = _waiter.
Wait
(_curr + _batchMask);
1004
Contracts.Assert(_waiter.
Wait
(_curr));
1007
else if (_waiter.
Wait
(++_curr)) // Didn't reserve block, explicitly wait.
1110
bool result = _waiter.
Wait
(GetIndex());