Re: MMFile usage

2022-08-03 Thread H. S. Teoh via Digitalmars-d-learn
On Thu, Aug 04, 2022 at 12:35:55AM +, Alex Burton via Digitalmars-d-learn wrote: > Hi, > I want to use MmFile to manage memory mapped files. I want multiple > processes to be able to read in many files using the virtual memory > system to page them in and reuse the memory. > > If I read the c

MMFile usage

2022-08-03 Thread Alex Burton via Digitalmars-d-learn
Hi, I want to use MmFile to manage memory mapped files. I want multiple processes to be able to read in many files using the virtual memory system to page them in and reuse the memory. If I read the contents of the file, I can cast it to immutable and then I get segfaults when accessing the d