Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有做内存映射的api,就像
mmap()
在Linux上?
取决于你到底想用它做什么。如果要将现有文件映射到内存中,则内存映射文件支持。它们还可以用于在进程之间共享内存(使用没有基础文件的命名映射对象)。如果要映射物理内存,用户模式通常不支持,尽管有一些技巧。