文件名称:threadpool-0.2.src
- 所属分类:
- Linux驱动
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2013-04-27
- 文件大小:
- 4.97mb
- 下载次数:
- 0次
- 提 供 者:
- j***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
因为一般系统频繁的创建、销毁线程,对于系统是一笔不小的开支;对于这种频繁创建线程的情况,采用线程池,每次在需要创建线程的时候,我们只要从线程池中分配一个给他就行,用完之后还给线程池,这样就能大大节省不必要的资源消耗;缓冲池的话,主要是为了提高程序的运行速度,每次从池中取数据,远远快于其它获取数据的速度。-Frequent because of the general system to create, destroy threads, the system is not a small sum expenses For this frequently create a thread, the thread pool, each need to create a thread, as long as we allocated from the thread pool a he returned to the thread pool is used up, so that we can greatly save unnecessary consumption of resources buffer pool to increase the program speed, each taken from the pool of data, much faster than other acquisition the speed of the data.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
threadpool-0.2.src\threadpool-0.2\Makefile
..................\..............\MANIFEST
..................\..............\README
..................\..............\spthread.h
..................\..............\testthreadpool.cpp
..................\..............\threadpool.c
..................\..............\threadpool.h
..................\..............\win32\threadpool.dsp
..................\..............\.....\threadpool.dsw
..................\..............\.....\threadpool.sdf
..................\..............\.....\threadpool.suo
..................\..............\.....\threadpool.vcxproj
..................\..............\.....\threadpool.vcxproj.filters
..................\..............\.....\threadpool.vcxproj.user
..................\..............\win32
..................\threadpool-0.2
threadpool-0.2.src