Re: [Boost-bugs] [Boost C++ Libraries] #4010: Boost message queue bug

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4010: Boost message queue bug
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-05-06 04:27:26

#4010: Boost message queue bug
 Reporter: rusty0831 <rusty_lai@…> | Owner: igaztanaga
     Type: Bugs | Status: new
Milestone: Boost 1.43.0 | Component: interprocess
  Version: Boost 1.42.0 | Severity: Problem
 Keywords: bug message queue temp folder bootstamp |

Comment(by anonymous):

 Thanks for this bug, it saves us a lot of time to trace a bug: when the
 applications are running for a few hrs, they won't communicate correctly
 with each other if the child process is created dynamically.

 I have a simple fix for this, only works for windows system.
 Try to use the windows_shared_memory instead of shared_memory_object. It
 works as changing the system time, not test on leave it there for a few
 If anyone interested in the changes:
 detail::managed_open_or_create_impl< windows_shared_memory, false>
 detail::managed_open_or_create_impl<shared_memory_object> m_shmem;
 and change the header include. comment out the message_queue::remove.

 Hope this could help some1 on Windows to work around this problem by now.

Ticket URL: <>
Boost C++ Libraries <>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:03 UTC