Boost logo

Boost :

From: Slava, Alex (raf.devel_at_[hidden])
Date: 2006-05-23 14:04:48


On 5/23/06, rasmus ekman <m11048_at_[hidden]> wrote:
> Slava, Alex wrote:
> > On 5/22/06, Tomas Puverle <Tomas.Puverle_at_[hidden]> 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

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk