Boost logo

Boost Users :

Subject: Re: [Boost-users] [interprocess] support for private mappings?
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2009-01-02 18:52:49


Zeljko Vrba wrote:
> Does this library support private, read-write file mappings? Such mapping
> is copy on write, and modifications to the mapped region remain private to
> the process that created the mapping.

Yes, see

http://tinyurl.com/8odxjg

or longer

http://www.boost.org/doc/libs/1_37_0/doc/html/interprocess/managed_memory_segments.html#interprocess.managed_memory_segments.managed_memory_segment_advanced_features.copy_on_write_read_only

You can also use lower level mapped_region for copy-on-write file
mappings using mode_t = copy_on_write.

Regards,

Ion


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