[Boost-bugs] [Boost C++ Libraries] #5266: mapped_region::flush improvement

Subject: [Boost-bugs] [Boost C++ Libraries] #5266: mapped_region::flush improvement
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-03-05 11:54:11


#5266: mapped_region::flush improvement
------------------------------+---------------------------------------------
 Reporter: dmitry_b@… | Owner: igaztanaga
     Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: interprocess
  Version: Boost 1.46.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 The function flush shoud be changed or made polymorf in order to have an
 ability to set sync flags of msync directly

 like this

 function mapped_region::flush(std::size_t mapping_offset, std::size_t
 numbytes, int flags)

 The following flags are defined for msync():

 MS_ASYNC
     Perform asynchronous writes.
 MS_SYNC
     Perform synchronous writes.
 MS_INVALIDATE
     Invalidate mappings.

 this is critical for some applications that shoud be sure that data if
 fully transfered to the device.

 Thanks for help.

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