文件名称:sharedatawithmultip
- 所属分类:
- 通讯编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-12-06
- 文件大小:
- 2.75mb
- 下载次数:
- 0次
- 提 供 者:
- k*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
对于同一个进程,多次加载时,会创建其多个实例,如第一个实例A的进程地址空间(4GB),第二个实例B的进程地址空间(4GB),每个进程实例的地址空间中都有多个代码页面和 多个数据页面,
首次A加载时,它们会被映射到虚拟内存中,当出出数据页面被修改时,系统会首先截获,接着为应用程序A试图写入的内存页面分配一块新的内存,然后复制页面内容,最后让应用程序写入刚分配的内存块.此时,应用程序A的数据页面已经指向的新的地方.这里主要运用了页面的写时复制特性.
-For the same process, many loaded, will create more than one instance of its first instance A process address space (4GB), the second instance of B, the process address space (4GB), the address of each process instance space has multiple code pages and multiple data page A is loaded for the first time, they will be mapped into the virtual memory, when out of the data page is modified, the system will first intercepted, then application A attempts to write memory page allocation into a new memory, and then copy the content of the page, the last application to write to the newly allocated memory block. Application A data page has pointed to the new place where the main use of the page write when replication features.
首次A加载时,它们会被映射到虚拟内存中,当出出数据页面被修改时,系统会首先截获,接着为应用程序A试图写入的内存页面分配一块新的内存,然后复制页面内容,最后让应用程序写入刚分配的内存块.此时,应用程序A的数据页面已经指向的新的地方.这里主要运用了页面的写时复制特性.
-For the same process, many loaded, will create more than one instance of its first instance A process address space (4GB), the second instance of B, the process address space (4GB), the address of each process instance space has multiple code pages and multiple data page A is loaded for the first time, they will be mapped into the virtual memory, when out of the data page is modified, the system will first intercepted, then application A attempts to write memory page allocation into a new memory, and then copy the content of the page, the last application to write to the newly allocated memory block. Application A data page has pointed to the new place where the main use of the page write when replication features.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
windows核心编程之在同一个可执行文件间共享数据
.............................................\17-AppInst
.............................................\..........\17-AppInst.ncb
.............................................\..........\17-AppInst.sln
.............................................\..........\17-AppInst.suo
.............................................\..........\17-AppInst.vcproj
.............................................\..........\17-AppInst.vcproj.8.00.old
.............................................\..........\17-AppInst.vcproj.KIKOP.yhm.user
.............................................\..........\AppInst.aps
.............................................\..........\AppInst.cpp
.............................................\..........\AppInst.ico
.............................................\..........\AppInst.rc
.............................................\..........\Debug
.............................................\..........\.....\BuildLog.htm
.............................................\..........\Resource.h
.............................................\..........\UpgradeLog.XML
.............................................\..........\_UpgradeReport_Files
.............................................\..........\....................\UpgradeReport.css
.............................................\..........\....................\UpgradeReport.xslt
.............................................\..........\....................\UpgradeReport_Minus.gif
.............................................\..........\....................\UpgradeReport_Plus.gif
.............................................\CommonFiles
.............................................\...........\CmnHdr.h
.............................................\...........\EnsureCleanup.h
.............................................\...........\IoCompletionPort.h
.............................................\...........\Toolhelp.h
.............................................\...........\WaitChainTraversal.h
.............................................\windows核心编程之在同一个可执行文件间共享数据.docx