Boost C++ Libraries: Ticket #4266: After Restarting Process getting stuck while using Interprocess shared memory API https://svn.boost.org/trac10/ticket/4266 <p> WE are interprocess shared memory for caching data across restart. Recently while testing it is found that thread are hanged while acquiring process shared mutex which is member named m_header in boost::interprocess::segment_manager. I think when process was restarted the m_header recursive mutex was in locked state, so when process restarted it finds the mutex in locked state.<br /> I need a mechanism to detect sanity of such locks to detect whether mutex is in stale state. </p> <p> Regards Aditya Kumar Sinha </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4266 Trac 1.4.3 aditya.sinha@… Thu, 27 May 2010 07:36:14 GMT <link>https://svn.boost.org/trac10/ticket/4266#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4266#comment:1</guid> <description> <p> WE are interprocess shared memory for caching data across restart. Recently while testing it is found that thread are hanged while acquiring process shared mutex which is member named m_header in boost::interprocess::segment_manager. I think when process was restarted the m_header recursive mutex was in locked state, so when process restarted it finds the mutex in locked state. I need a mechanism to detect sanity of such locks to detect whether mutex is in stale state. </p> <p> Regards <br /> Aditya Kumar Sinha </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Ion Gaztañaga</dc:creator> <pubDate>Fri, 01 Apr 2011 21:27:01 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/4266#comment:2 https://svn.boost.org/trac10/ticket/4266#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">wontfix</span> </li> </ul> <p> Sorry but robust mutexes are not supported in Interprocess. Maybe in the future. </p> Ticket