一直搞不清楚内存映射文件的意思,今天在MSDN上看到的,应该比较好明白:
Memory-mapped files (MMFs) offer a unique memory management feature that allows applications to access files on disk in the same way they access dynamic memory—through pointers. With this capability you can map a view of all or part of a file on disk to a specific range of addresses within your process's address space. And once that is done, accessing the content of a memory-mapped file is as simple as dereferencing a pointer in the designated range of addresses.
原文地址:
http://msdn.microsoft.com/library/en-us/dngenlib/html/msdn_manamemo.asp?frame=true
什么是内存映射文件
最新推荐文章于 2024-02-04 13:55:42 发布