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 13:02:18


#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@…>):

 Replying to [comment:15 igaztanaga]:
> Replying to [comment:13 xijing dai <dxj19831029@…>]:
> > here is the code:
>
> The patch is not about making all interprocess classes workable between
 32 and 64 bit applications. Is about customizing offset_ptr and propagate
 its attributes (size_type, difference_type, etc..) so that that this
 *could* be possible, of course depending on the compiler ABI of 32/64 bit
 applications. The patch is experimental, so it won't be documented and
 made official until it gets some real-application experience.
>
> Regarding message_queue, it is a bug that it does not work between 32
 and 64 bit applications. I should change queue internals to make internal
 types fixed length. It's in my to-do list but i haven't found time to
 implement it.

 boost::interprocess::offset_ptr<void> is 4 bytes long, is that normal for
 32 program?
 should it be 8 bytes?

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