开发者

Is there a memory mapping api on windows platform, just like mmap() on linux?

Is there an api to do memory mapping, just l开发者_运维技巧ike

mmap()

on linux?


Depends on what exactly you want to use it for. If you want to map existing files into memory, that's supported with memory-mapped files. They can also be used to share memory between processes (use named mapping object with no underlying file). If you want to map physical memory, that's generally not supported from user mode, although there are some tricks.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜