文件名称:virtual-memory-allocation--tracking
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:7.52mb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
编写一个程序,包括两个线程,一个线程用于模拟内存分配活动,另一个用于跟踪第一个线程的内存行为,要求两个线程之间通过信号量实现同步,模拟内存活动的线程可以从一个文件中读出要进行的内存操作。将VirtualAlloc函数的参数flAllocationType分别设置为MEM_RESET,MEM_TOP_DOWN,将flProtect参数分别设置为PAGE_GUARD,PAGE_NOACCESS,PAGE_NOCACHE,执行并查看内存分配的结果。-Write a program that consists of two threads, one thread is used to simulate the memory allocation activities, one for tracking the memory behavior of the first thread, requiring between two threads synchronize through semaphores to simulate the activities of the thread of memory from a read the file memory operations to be carried out. FlAllocationType the VirtualAlloc function parameters were set to MEM_RESET, MEM_TOP_DOWN, will flProtect parameters are set to PAGE_GUARD, PAGE_NOACCESS, PAGE_NOCACHE, execute and view the results of memory allocation.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
MM/MM/MM.APS
MM/MM/MM.cpp
MM/MM/MM.h
MM/MM/MM.rc
MM/MM/MM.vcproj
MM/MM/MM.vcproj.9D706508AC0D450.XPU.user
MM/MM/MM.vcproj.ARS-207E706F97E.XPU.user
MM/MM/MMDlg.cpp
MM/MM/MMDlg.h
MM/MM/ReadMe.txt
MM/MM/res/MM.ico
MM/MM/res/MM.rc2
MM/MM/resource.h
MM/MM/stdafx.cpp
MM/MM/stdafx.h
MM/MM.ncb
MM/MM.sln
MM/MM.suo
MM/MM/res
MM/MM
MM
MM/MM/MM/MM.APS
MM/MM/MM/MM.cpp
MM/MM/MM/MM.h
MM/MM/MM/MM.rc
MM/MM/MM/MM.vcproj
MM/MM/MM/MM.vcproj.9D706508AC0D450.XPU.user
MM/MM/MM/MM.vcproj.ARS-207E706F97E.XPU.user
MM/MM/MM/MMDlg.cpp
MM/MM/MM/MMDlg.h
MM/MM/MM/ReadMe.txt
MM/MM/MM/res/MM.ico
MM/MM/MM/res/MM.rc2
MM/MM/MM/resource.h
MM/MM/MM/stdafx.cpp
MM/MM/MM/stdafx.h
MM/MM/MM.ncb
MM/MM/MM.sln
MM/MM/MM.suo
MM/MM/MM/res
MM/MM/MM
MM/MM/MM.cpp
MM/MM/MM.h
MM/MM/MM.rc
MM/MM/MM.vcproj
MM/MM/MM.vcproj.9D706508AC0D450.XPU.user
MM/MM/MM.vcproj.ARS-207E706F97E.XPU.user
MM/MM/MMDlg.cpp
MM/MM/MMDlg.h
MM/MM/ReadMe.txt
MM/MM/res/MM.ico
MM/MM/res/MM.rc2
MM/MM/resource.h
MM/MM/stdafx.cpp
MM/MM/stdafx.h
MM/MM.ncb
MM/MM.sln
MM/MM.suo
MM/MM/res
MM/MM
MM
MM/MM/MM/MM.APS
MM/MM/MM/MM.cpp
MM/MM/MM/MM.h
MM/MM/MM/MM.rc
MM/MM/MM/MM.vcproj
MM/MM/MM/MM.vcproj.9D706508AC0D450.XPU.user
MM/MM/MM/MM.vcproj.ARS-207E706F97E.XPU.user
MM/MM/MM/MMDlg.cpp
MM/MM/MM/MMDlg.h
MM/MM/MM/ReadMe.txt
MM/MM/MM/res/MM.ico
MM/MM/MM/res/MM.rc2
MM/MM/MM/resource.h
MM/MM/MM/stdafx.cpp
MM/MM/MM/stdafx.h
MM/MM/MM.ncb
MM/MM/MM.sln
MM/MM/MM.suo
MM/MM/MM/res
MM/MM/MM
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.