文件名称:MultithreadAndMemPool
- 所属分类:
- 控制台(字符窗口)编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2013-04-25
- 文件大小:
- 3.99mb
- 下载次数:
- 0次
- 提 供 者:
- 杜**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
多线程与内存的使用,现在是两个类,每个类都有各自的线程,两个独立的线程去共享内存池。本例子是一个空内存池队列,一个使用队列,使用完开辟内存释放还个内存池,而不是换个堆-Multithreading and memory usage, is now two classes, each class has its own thread, two independent thread to the Shared memory pool. This example is an empty queue memory pool, use a queue, use the open release memory is a memory pool, rather than to change a heap
(系统自动生成,下载前可以参看下载内容)
下载文件列表
MultithreadAndMemPool\Debug\MultithreadAndMemPool.exe
.....................\.....\MultithreadAndMemPool.ilk
.....................\.....\MultithreadAndMemPool.pdb
.....................\MultithreadAndMemPool\AllocateMemPool.cpp
.....................\.....................\AllocateMemPool.h
.....................\.....................\BasicIncludes.h
.....................\.....................\CMemoryPool.cpp
.....................\.....................\CMemoryPool.h
.....................\.....................\CommonData.h
.....................\.....................\CriticalSection.h
.....................\.....................\Debug\AllocateMemPool.obj
.....................\.....................\.....\BuildLog.htm
.....................\.....................\.....\CMemoryPool.obj
.....................\.....................\.....\FreeMemPool.obj
.....................\.....................\.....\Main.obj
.....................\.....................\.....\mt.dep
.....................\.....................\.....\MultithreadAndMemPool.exe.embed.manifest
.....................\.....................\.....\MultithreadAndMemPool.exe.embed.manifest.res
.....................\.....................\.....\MultithreadAndMemPool.exe.intermediate.manifest
.....................\.....................\.....\vc90.idb
.....................\.....................\.....\vc90.pdb
.....................\.....................\FreeMemPool.cpp
.....................\.....................\FreeMemPool.h
.....................\.....................\IMemoryBlock.h
.....................\.....................\Main.cpp
.....................\.....................\MultithreadAndMemPool.vcproj
.....................\.....................\MultithreadAndMemPool.vcproj.SX-B21FDE57D36B.Administrator.user
.....................\.....................\queue.h
.....................\.....................\SMemoryChunk.h
.....................\MultithreadAndMemPool.ncb
.....................\MultithreadAndMemPool.sln
.....................\MultithreadAndMemPool.suo
.....................\.....................\Debug
.....................\Debug
.....................\MultithreadAndMemPool
MultithreadAndMemPool