Boost C++ Libraries: Ticket #3375: The thread hang up on managed_mapped_file::shrink_to_fit() call https://svn.boost.org/trac10/ticket/3375 <p> Hello! I found some bug in the interprocess library. I use boost::interprocess::managed_mapped_file class and managed_mapped_file::shrink_to_fit() method to decrease the size of file on the disk. It works good but the thread hang up on shrink_to_fit() call if the file exists already and it's size is zero. It makes me check the file existance and it's size before shrink_to_fit() call. Thank you! </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3375 Trac 1.4.3 Ion Gaztañaga Tue, 20 Oct 2009 16:25:33 GMT <link>https://svn.boost.org/trac10/ticket/3375#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3375#comment:1</guid> <description> <p> How can you get a managed_mapped file with size 0? That's a corrupted file. Interprocess could check this case but in general is programmers responsibility that the mapped file should not be corrupted. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Ion Gaztañaga</dc:creator> <pubDate>Thu, 26 Aug 2010 11:18:53 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/3375#comment:2 https://svn.boost.org/trac10/ticket/3375#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> Ticket