
7 Jul
2010
7 Jul
'10
6:37 a.m.
Date: Tue, 6 Jul 2010 07:25:12 +0800 From: Bo Xie
To: boost-users@lists.boost.org Hello,
Java FileChannel ( http://java.sun.com/j2se/1.4.2/docs/api/java/nio/channels/FileChannel.h tml) supports to lock a region of the file [e.g.lock(long position, long size, boolean shared)]. Is there any existing/similar C++ lib for it (so
I did not look too much into details, but it seems to be related to memory-mapped files. Boost.iostream does support memory mapped files: http://www.boost.org/doc/libs/1_43_0/libs/iostreams/doc/classes/mapped_f ile.html than I need not to reinvent the wheel)?
Best Regards, Bo Xie