|
Boost Users : |
Subject: [Boost-users] [iostreams] how to flush mapped_file
From: Stefan Strasser (strasser_at_[hidden])
Date: 2009-08-27 00:33:54
Hi,
I'm new to the iostreams library, how do you flush/sync a
iostreams::mapped_file?
iostreams::flush(mapped_file) doesn't seem to work, although it works with a
normal file device. are mapped_file's not flushable?
the documentation of concept Flushable strangly says that it is an
implementation detail, if a device is flushable.
it should result in a call to msync() on posix systems and must not be an
implementation detail, but the flush must be guaranteed. is this not possible
with iostreams?
thank you
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net