Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7420: If I call managed_shared_memory() function when I create a lot of objects, it ocurrs error.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-10-09 00:59:23
#7420: If I call managed_shared_memory() function when I create a lot of objects,
it ocurrs error.
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: igaztanaga
Type: Bugs | Status: new
Milestone: To Be Determined | Component: interprocess
Version: Boost 1.47.0 | Severity: Problem
Resolution: | Keywords: interprocess, shared_memeory
-------------------------------+--------------------------------------------
Comment (by mimirang):
Hi.
Thank you for replying. I modifed basic_managed_shared_memory following
your solution.
(Boost 1.51.0, Win32, Visual Studio 2008)
change :
---------------------------------------------------------------------------------------
basic_managed_shared_memory
: public ipcdetail::basic_managed_memory_impl
<CharType, AllocationAlgorithm, IndexType
,ipcdetail::managed_open_or_create_impl<shared_memory_object
,
AllocationAlgorithm::Alignment>::ManagedOpenOrCreateUserOffset>
, private ipcdetail::managed_open_or_create_impl<shared_memory_object
,
AllocationAlgorithm::Alignment, true, false>
{
/// @cond
typedef ipcdetail::basic_managed_memory_impl
<CharType, AllocationAlgorithm, IndexType,
ipcdetail::managed_open_or_create_impl
< shared_memory_object,
AllocationAlgorithm::Alignment>::ManagedOpenOrCreateUserOffset> base_t;
typedef ipcdetail::managed_open_or_create_impl
<shared_memory_object, AllocationAlgorithm::Alignment, true,false>
base2_t;
---------------------------------------------------------------------------------------
However, It's not working. So, I modified my application program that
calls mamaged_shared_memory() one time.
I hope that you fix this problem, and release new Boost 1.52.
Thank you so much to report and give me tips.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7420#comment:5> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:10 UTC