
C++线程池
小米的修行之路
是日已过,命亦随减;如少水鱼,斯有何乐?当勤精进,如救头燃!但念无常,慎勿放逸。
展开
-
STL---线程池的实现
1、此线程池是GitHub上某位大牛的,地址:https://github.com/lizhenghn123/zl_threadpool。使用C++11技术实现的,如:std::thread,std::mutex,std::atomic、lambda表达式,future等等,如果你没接触过C++11中的这些技术的话,我相信你一定看不懂,你只需要把设计到的这些东西学习一下。2、线程池实现:...原创 2019-08-06 16:38:53 · 1355 阅读 · 0 评论 -
C++ 11 实现线程池---老外封装
源码下载地址:https://github.com/log4cplus/ThreadPool// -*- C++ -*-// Copyright (c) 2012-2015 Jakob Progsch//// This software is provided 'as-is', without any express or implied// warranty. In no even...原创 2020-02-24 21:10:53 · 1235 阅读 · 0 评论