Boost C++ Libraries: Ticket #7807: message_queue do_send and do_receive blocked for interprocess_mutex https://svn.boost.org/trac10/ticket/7807 <p> Sending program A send information to the receiving program B, if the program B quit unexpectedly. Starting the program again B,Program A and B will block in “scoped_lock&lt;interprocess_mutex&gt; lock(p_hdr-&gt;m_mutex)” </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7807 Trac 1.4.3 viboes Thu, 03 Jan 2013 16:20:05 GMT component changed; owner set https://svn.boost.org/trac10/ticket/7807#comment:1 https://svn.boost.org/trac10/ticket/7807#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Ion Gaztañaga</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">interprocess</span> </li> </ul> Ticket anonymous Fri, 21 Nov 2014 01:14:46 GMT <link>https://svn.boost.org/trac10/ticket/7807#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7807#comment:2</guid> <description> <p> how can deal with the bugs? </p> </description> <category>Ticket</category> </item> <item> <author>assorted <assortedbeans@…></author> <pubDate>Mon, 04 Jan 2016 22:38:41 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/7807#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7807#comment:3</guid> <description> <p> I have same problem. The interprocess_mutex cause deadlock. I use "open_only" flag in client process. If the server is not running, I get a deadlock in timed_receive or try_receive. The message_queue is absolutely unusable. </p> </description> <category>Ticket</category> </item> <item> <author>assorted <assortedbeans@…></author> <pubDate>Mon, 04 Jan 2016 22:54:08 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/7807#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7807#comment:4</guid> <description> <p> It helped partly: #define BOOST_INTERPROCESS_ENABLE_TIMEOUT_WHEN_LOCKING </p> </description> <category>Ticket</category> </item> <item> <author>assorted <assortedbeans@…></author> <pubDate>Mon, 04 Jan 2016 23:00:20 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/7807#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7807#comment:5</guid> <description> <blockquote> <p> This is a duplicate of <a class="new ticket" href="https://svn.boost.org/trac10/ticket/11728" title="#11728: Bugs: interprocess::message_queue deadlocked when process exists ... (new)">#11728</a> ticket. </p> </blockquote> </description> <category>Ticket</category> </item> </channel> </rss>