[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mmap and Windows
From: |
Vincent Torri |
Subject: |
Re: mmap and Windows |
Date: |
Fri, 24 Jul 2020 17:02:25 +0200 |
On Fri, Jul 24, 2020 at 5:01 PM Vincent Torri <vincent.torri@gmail.com> wrote:
>
> On Fri, Jul 24, 2020 at 3:47 PM Nikolay Sivov <bunglehead@gmail.com> wrote:
> >
> >
> >
> > On Fri, Jul 24, 2020 at 4:25 PM Vincent Torri <vincent.torri@gmail.com>
> > wrote:
> >>
> >> hello
> >>
> >> On Windows, there is no mmap, but there is shared memory support, with
> >> CreateFileMapping and MapViewOfFile.
> >>
> >> If shared mem really improved loading of files on Unix, would you
> >> consider adding shared mem support on Windows too ?
> >
> >
> > You can already do that on Windows by mapping it yourself and using
> > FT_New_Memory_Face().
> >
>
> thank you
>
> Vincent Torri
but then, why adding mmap support in the buildsystem ? you can remove
it (simpler build system) and unix users will also mmap the file
themselves
Vincent Torri