|
Boost Users : |
Subject: Re: [Boost-users] [Interprocess] error_code_t = 9 (already_exists_error) while opening a fixed_managed_shared_memory
From: Viatcheslav.Sysoltsev_at_[hidden]
Date: 2011-05-20 05:22:14
On Fri, 20 May 2011 10:15:52 +0200, Gaetan Gaumer <gaetan.gaumer_at_[hidden]>
wrote:
1) every process has its own address space
2) the memory, where you're trying to map the shared memory may be already
partially occupied, so fixed mapping *have to* fail occasionally
To summarize: I would not use fixed shared memory mapping - to be stable
it shall require dirty hacks to preallocate the memory region, with
unexpected problems floating up when you create a library from your code.
-- Slava
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