Date: Sun, 11 Aug 2019 19:51:00 +0000
David Blaikie:
> My understanding is the OS does this itself - if you memory map a file
> read-only, it can share memory pages with other processes that are also
> doing that?
Ah, so build system memory maps the BMI and then hopes that OS will do
the right thing? Unfortunately, we can't do that within realm of ISO C++
yet and I want to keep the build system I'm writing within ISO C++ as
much as possible (I use Networking TS for sockets).
> My understanding is the OS does this itself - if you memory map a file
> read-only, it can share memory pages with other processes that are also
> doing that?
Ah, so build system memory maps the BMI and then hopes that OS will do
the right thing? Unfortunately, we can't do that within realm of ISO C++
yet and I want to keep the build system I'm writing within ISO C++ as
much as possible (I use Networking TS for sockets).
Received on 2019-08-11 14:53:55