|
Boost : |
Subject: Re: [boost] [ineterprocess] managed mapped file - recovery from process failure
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2018-04-02 22:36:52
On 31/03/2018 22:11, Assaf Ben-amitai via Boost wrote:
> Hi,
>
> I have noticed that if a process is killed while it's allocating memory
> from a managed file, later loading of the managed file may segfault (even
> in read-only mode).
>
> A. What is the expected behaviour in this case?
The one you get. managed file has no inherent protections. You need to
add it yourself. I'm not aware of any effort to improve this.
Best,
Ion
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk