文件名称:neicunfenpei
-
所属分类:
- 标签属性:
- 上传时间:2013-04-29
-
文件大小:2.24kb
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
编写一个程序,创建两个线程,一个用于内存分配,另一个用于跟踪内存的分配情况并打印信息。将VirtualAlloc函数的参数ftAllocahonType分别改为MEM_RESET或MEM_TOP_DOWN,将nProtect参数分别改为PAGE_GUARD、PAGE_NOACCESS或PAGE_NOCACHE,再进行本实习的各项操作,再查看内存分配的各个结果,分析原因。尝试调换分配、回收、内存复位、加锁、解锁、提交、回收的次序,查看结果,并分析原因。-Write a program that creates two threads, one for memory allocation and one for the memory allocation tracking and print information. To the the VirtualAlloc function parameters ftAllocahonType were to be changed MEM_RESET or MEM_TOP_DOWN nProtect parameters to be changed PAGE_GUARD, PAGE_NOACCESS or PAGE_NOCACHE, then the operation of this internship, and then view the memory allocation results, analyze the causes. Try to swap allocation, recovery, memory reset, lock, unlock, submitted a recovery order to view the results and analyze the reasons.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
neicunfenpei.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.