Boost logo

Boost Users :

Subject: Re: [Boost-users] Fwd: Boost 1.38.0 Interprocess - Question on remove
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2009-07-03 02:54:24


Federico Golfrè Andreasi escribió:
> Hi!
>
> I'm using the Boost 1.38.0 Interprocess Library and shared memory object.
>
> My code eliminates with a remove a shared memory object associated with
> a label, the returned value is true so the operation is done correctly;
> just after that I create a shared memory with the same label and the
> program throws an error saying "File exists", just as I didn't remove it
> with the previous instruction.
>
> I've seen that the made a bug fix in boost 1.39.0 Interprocess Library
> on the remove; that fixing reagard this problem or is something different?
> Do you have an idea of what can be the problem?

I don't have enough data to tell you anything sure. 1.39 affects windows
only. With 1.39 windows gets the same behavior as UNIX: you can remove
in-use shared memory. Current SVN also has a fix for UNIX remove because
the return value was not correct.

Best,

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