Windows 线程池的VS2010 C++ 实现

上传者: yuguanquan1990 | 上传时间: 2021-09-22 11:08:55 | 文件大小: 12.19MB | 文件类型: RAR
Windows下貌似都没有一个比较好用的线程池,至少我没有找到,因此,我就利用函数模板,类模板实现了一个类似于boost的threadpool的一个类。具体,大家可以下载下来了解下,另外,这个事VS2010的工程,不过线程池的实现和vs版本无关,VS2005,2008等应该都是可以用的,VC6.0的话就不一定了,大家可以试试看看,另外,我还有一篇博客介绍了这一线程池的实现:http://blog.csdn.net/yuguanquan1990/article/details/40661583

文件下载

资源详情

[{"title":"( 20 个子文件 12.19MB ) Windows 线程池的VS2010 C++ 实现","children":[{"title":"ThreadPoolDemo","children":[{"title":"ThreadPoolDemo.suo <span style='color:#111;'> 43.00KB </span>","children":null,"spread":false},{"title":"ThreadPoolDemo.sln <span style='color:#111;'> 909B </span>","children":null,"spread":false},{"title":"ThreadPoolDemo.sdf <span style='color:#111;'> 30.77MB </span>","children":null,"spread":false},{"title":"ThreadPoolDemo","children":[{"title":"MyTask.cpp <span style='color:#111;'> 3.42KB </span>","children":null,"spread":false},{"title":"stdafx.cpp <span style='color:#111;'> 219B </span>","children":null,"spread":false},{"title":"MyTask.h <span style='color:#111;'> 3.48KB </span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'> 272B </span>","children":null,"spread":false},{"title":"ThreadPoolDemo.cpp <span style='color:#111;'> 315B </span>","children":null,"spread":false},{"title":"ThreadPoolDemo.vcxproj.user <span style='color:#111;'> 143B </span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'> 236B </span>","children":null,"spread":false},{"title":"Task.cpp <span style='color:#111;'> 105B </span>","children":null,"spread":false},{"title":"Task.h <span style='color:#111;'> 115B </span>","children":null,"spread":false},{"title":"MyThreadPool.h <span style='color:#111;'> 5.19KB </span>","children":null,"spread":false},{"title":"MyThreadPool.cpp <span style='color:#111;'> 2.40KB </span>","children":null,"spread":false},{"title":"ThreadPoolDemo.vcxproj.filters <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"ThreadPoolDemo.log <span style='color:#111;'> 525B </span>","children":null,"spread":false},{"title":"ThreadPoolDemo.Build.CppClean.log <span style='color:#111;'> 3.95KB </span>","children":null,"spread":false}],"spread":false},{"title":"ThreadPoolDemo.vcxproj <span style='color:#111;'> 4.51KB </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false}],"spread":false},{"title":"ipch","children":[{"title":"threadpooldemo-de8a7656","children":[{"title":"threadpooldemo-1ebec303.ipch <span style='color:#111;'> 31.75MB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Debug","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • jxyixy :
    没什么用,boost有现成的可以用
    2017-11-01
  • taoo0 :
    很简单 很一般
    2016-08-10
  • a315010225 :
    很简单 很实用
    2016-04-15

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明