MemoryManager

所属分类:Windows编程
开发工具:Visual C++
文件大小:8KB
下载次数:190
上传日期:2006-05-14 19:49:22
上 传 者茄子鱼香
说明:  内存管理函数myalloc() ,myfree()以及测试使用时遇到的全部情况如:请求内存时遇到的内存不足,以及能满足请求的几种情况:1.空闲区刚好和请求区大小一样2.空闲区比请求区大,但余下的不能划分会一个分区3.空闲区比请求区大但余下的可以划分为一个空闲区。释放内存时也有好多种情况如:1.已经释放了的内存,再次要求释放2.请求释放的内存不属于myalloc分给的内存区3.释放成功,但释放块没有和前后空闲区合并4.释放成功,释放块和前空闲区合并5.释放成功,释放块和后空闲区合并6.释放成功,释放块和前后空闲区都合并。
(myalloc memory management function (), myfree (), and testing the use of the encounter as all of the : request for the memory of the encounter memory, and to meet the request of several situations : 1. idle District exactly the same request of district size 2. request free area than the District, However, the remaining one will not be divided into three districts. request free area than the majority of the remaining but can be divided into a free zone. Release of memory have also varied circumstances such as : 1. Already released in memory, once again demanding the release of two. requests for the release of the memory is not myalloc points to the memory of the three areas. the release of success but the release did not block the merger after four idle. successful release, the release of b)

文件列表:
MemoryManager\MEMORY.H (5352, 2006-05-14)
MemoryManager\MemoryManager.dsp (4418, 2006-05-14)
MemoryManager\MemoryManager.dsw (532, 2006-05-14)
MemoryManager\MemoryManager.ncb (33792, 2006-05-14)
MemoryManager\MemoryManager.opt (48640, 2006-05-14)
MemoryManager\MemoryManager.plg (1297, 2006-05-14)
MemoryManager\TEST.C (802, 2006-05-14)
MemoryManager (0, 2006-05-14)

近期下载者

相关文件


收藏者