
On 5/23/06, rasmus ekman <m11048@abc.se> wrote:
Slava, Alex wrote:
On 5/22/06, Tomas Puverle <Tomas.Puverle@morganstanley.com> wrote:
Finally, it would be nice to be able to specify some of the flags that memory mapped files can take when they are being opened, such as MAP_PRIVATE, MAP_ANON, MAP_FIXED etc.
1. Windows doesn't have such flags
While the semantics may not be identical, there are seductively similar flags. MAP_PRIVATE - CreateFileMapping with PAGE_WRITECOPY MAP_ANONYMOUS - somewhat similar to CreateFileMapping with INVALID_HANDLE_VALUE (-1) (uses system page file) MAP_FIXED - MapViewOfFileEx with placement address.
Right. Thanks. Overlooked in the MSDN.
Cheers,
re
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
-- Svyatoslav Trukhanov, Oleksii Ursulenko