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


File-Locate-Iterator documentation  | view source Contained in the File-Locate-Iterator distribution.

Index


NAME

Top

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

DESCRIPTION

Top

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

Top

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

HOME PAGE

Top

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

COPYRIGHT

Top


File-Locate-Iterator documentation  | view source Contained in the File-Locate-Iterator distribution.