|
Boost Users : |
Subject: Re: [Boost-users] [interprocess] windows_shared_memory implementation
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2009-04-07 18:39:25
Andrew Holden wrote:
> Brent Arias wrote:
>> The documentation repeatedly states that "windows_shared_memory
>> has no kernel persistence and is destroyed when all processes
>> using that shared memory are gone."
>>
>> But I'm trying to find out what exactly is used for the
>> implementation of winows_shared_memory? Is it implemented
>> internally as a Windows named pipe? Is it based on using
>> ReadProcessMemory? Anyone know?
>
> I believe it's based on CreateFileMapping.
Yes, it's implemented with the native windows shared memory, but using
the system paging file instead of by a file in the file system. See:
http://msdn.microsoft.com/en-us/library/aa366537(VS.85).aspx
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net