[Boost-bugs] [Boost C++ Libraries] #3375: The thread hang up on managed_mapped_file::shrink_to_fit() call

Subject: [Boost-bugs] [Boost C++ Libraries] #3375: The thread hang up on managed_mapped_file::shrink_to_fit() call
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-08-31 10:10:09


#3375: The thread hang up on managed_mapped_file::shrink_to_fit() call
-------------------------------------------------------+--------------------
 Reporter: Kirill.Ierusalimov@… | Owner: igaztanaga
     Type: Bugs | Status: new
Milestone: Boost 1.41.0 | Component: interprocess
  Version: Boost 1.39.0 | Severity: Problem
 Keywords: shrink_to_fit managed_mapped_file hang up |
-------------------------------------------------------+--------------------
 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!

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