Re: [Boost-bugs] [Boost C++ Libraries] #5230: Interprocess shared memory between 32 and 64 bit processes

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5230: Interprocess shared memory between 32 and 64 bit processes
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-03-28 08:05:49


#5230: Interprocess shared memory between 32 and 64 bit processes
--------------------------------------+-------------------------------------
  Reporter: tgermer@… | Owner: igaztanaga
      Type: Feature Requests | Status: new
 Milestone: To Be Determined | Component: interprocess
   Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords: shared memory 32 64 bit
--------------------------------------+-------------------------------------

Comment (by xijing dai <dxj19831029@…>):

 here is the code:


 {{{
 this->memorySegment = new
 boost::interprocess::managed_windows_shared_memory(
 boost::interprocess::open_or_create, name, size);

 int sizeB = this->memorySegment->get_free_memory();

 }}}

 i allocate 1000000 bytes,
 it said free memory is: 999912, in 32bit.
 in 64 bit, it is: 999848.

 Just wonder, do I need to use different namespace or class name in order
 for managed shared memory to be compatible for 32 and 64 system?

 emm...by the way, how can i reach Ion?

 Cheers

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5230#comment:13>
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:06 UTC