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