Kevin Ryde
and 1 contributors

NAME

File::Locate::Iterator::FileMap -- shared mmaps for File::Locate::Iterator

DESCRIPTION

This is an internal part of File::Locate::Iterator. A FileMap object holds a file mmapped by File::Map and will re-use it rather than mapping the same file a second time.

This module shouldn't exist, since File::Map is in a much better position to share read-only mmaps, and can do so across threads too. Almost every read-only mmap will want to share. Straightforward cases like an mmap of a whole file should definitely share.

SEE ALSO

File::Locate::Iterator, File::Map

HOME PAGE

http://user42.tuxfamily.org/file-locate-iterator/index.html

COPYRIGHT

Copyright 2009, 2010, 2011, 2014 Kevin Ryde

File-Locate-Iterator is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.

File-Locate-Iterator is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with File-Locate-Iterator. If not, see http://www.gnu.org/licenses/