[Boost-bugs] [Boost C++ Libraries] #9849: shared_memory_object incompatible between x86 to x64 on Windows.

Subject: [Boost-bugs] [Boost C++ Libraries] #9849: shared_memory_object incompatible between x86 to x64 on Windows.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-04-07 17:47:04


#9849: shared_memory_object incompatible between x86 to x64 on Windows.
-------------------------------------+--------------------------
 Reporter: rich@… | Owner: igaztanaga
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: interprocess
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------+--------------------------
 The problem is very similar to Ticket #6054 for OSX and a different sub-
 folder of
 {{{
 C:\\ProgramData/boost_interprocess/
 }}}
 is created for each x86 or x64. It happens in get_bootstamp
 (tmp_dir_helpers.hpp:45) which generates a different file.

 The code is directly defined for OSX in get_bootstamp, but for windows, it
 goes to windows_semaphore_based_map() constructor
 (windows_intermodule_singleton.hpp:57) where it behaves differently
 depending on the size of void*.

 If this behavior is an exception, it should be written in the docs, since
 mixing x64 and x32 seems to work on OSX and Unix and does work with the
 native windows functions and the windows_shared_memory.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9849>
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:15 UTC