文件名称:thread
- 所属分类:
- Internet/网络编程
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 2kb
- 下载次数:
- 0次
- 提 供 者:
- n**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
线程池的实现主要分为三部分,线程的创建、添加任务到线程池中、工作线程从任务队列中取出任务进行处理。
主要有两个类来实现,CTask,CThreadPool-Implementation of thread pool is divided into three parts, thread creation, add the task to the thread pool, work out a thread from the task queue task for processing. There are two main classes to implement, CTask, CThreadPool
主要有两个类来实现,CTask,CThreadPool-Implementation of thread pool is divided into three parts, thread creation, add the task to the thread pool, work out a thread from the task queue task for processing. There are two main classes to implement, CTask, CThreadPool
(系统自动生成,下载前可以参看下载内容)
下载文件列表
CThread.cpp
CThread.h
test.cpp
CThread.h
test.cpp