文件名称:MyThreadPool
- 所属分类:
- Windows编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 20kb
- 下载次数:
- 0次
- 提 供 者:
- J***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
用VC上自己写的一个线程池,实现了一个自定义的CriticalSection,一个安全且可自动解除的锁,一个自定义的线程类,它封装了一个线程核心对象,最后实现了线程池类,用来管理线程对象。 且利用事件核心对象,实现了线程核心对象对消息列表的同步访问。下载即可运行,是整个工程文件-a threadpool, implemented by define a self-defining CriticalSection, a safy lock class,and a thread class which encasute a Thread core object. At the same time, using EVNET core object to synchronizedly access the message list
(系统自动生成,下载前可以参看下载内容)
下载文件列表
MyThreadPool
............\main.cpp
............\MyCriticalSection.cpp
............\MyCriticalSection.h
............\MyLock.cpp
............\MyLock.h
............\MyThread.h
............\MyThreadPool.cpp
............\MyThreadPool.dsp
............\MyThreadPool.dsw
............\MyThreadPool.h
............\MyThreadPool.ncb
............\MyThreadPool.opt
............\MyThreadPool.plg
............\MyTread.cpp
............\StdAfx.cpp
............\StdAfx.h
............\main.cpp
............\MyCriticalSection.cpp
............\MyCriticalSection.h
............\MyLock.cpp
............\MyLock.h
............\MyThread.h
............\MyThreadPool.cpp
............\MyThreadPool.dsp
............\MyThreadPool.dsw
............\MyThreadPool.h
............\MyThreadPool.ncb
............\MyThreadPool.opt
............\MyThreadPool.plg
............\MyTread.cpp
............\StdAfx.cpp
............\StdAfx.h