Boost logo

Boost :

Subject: Re: [boost] [interprocess, 1.51] basic_managed_shared_memory::flush removed?
From: Tim Blechmann (tim_at_[hidden])
Date: 2012-08-15 18:27:33

>> basic_managed_shared_memory::flush has been removed. this currently
>> breaks compilation of some of my code.
>> wouldn't it be cleaner to deprecate it for some time and maybe post a
>> warning? also a comment in the release notes, how to port code to 1.51
>> would be very nice.
> Yes, sorry, you are right, it should be deprecated and after that
> removed, the same will happen, I'm afraid with
> mapped_region::get_offset(). The problem with flush and shared memory is
> that flushing into shared memory is unspecified according to POSIX::
> "The effect of msync() on a shared memory object or a typed memory
> object is unspecified"
> Does flush() for shared memory useful in your platform?

thanks. iirc, my code does not necessarily depend on it, but it is
rather used to be on the safe side.

thanks, tim

Boost list run by bdawes at, gregod at, cpdaniel at, john at