private Stream GetView(int threadId) { MapViewStream s; if (!_inUse.TryGetValue(threadId, out s)) { MapViewStream mvs = _map.MapAsStream(); lock (_lockObject) { _inUse.Add(threadId, mvs); } return(mvs); } return(s); }
public void Flush(MapViewStream mappedViewStream) { Flush(mappedViewStream.ViewBaseAddr); }
public void UnMapView(MapViewStream mappedViewStream) { UnMapView(mappedViewStream.ViewBaseAddr); }